- π About the Project
- π» Getting Started
- π API Documentation
- π₯ Authors
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- π License
π BnB-homes-Backend
BnB-homes Backend is a Rails project which gives the API for the BnB-homes Frontend.
This app is built with Ruby on Rails and Postgresql.
Ruby Ruby on Rails Postgresql React Redux
- Authentication
- Authorization
- CRUD
In order to run this project you need:
- Mac or PC
- Install Ruby
- Install Rails
- Install Postgresql
- Install npm
- Understanding of Ruby
- Clone this repository to your desired folder:
git clone https://github.com/peterdtitan/BnB-homes.git
- Navigate into the cloned folder
cd server
Install this project with the following:
bundle install
- Set up the database and change the username and password of your Postgres account in
config/database.yml
rails db:create db:migrate db:seed
- Start the server
rails s
- Run the tests
rspec ./spec/models
- Run the server with
rails s
command - The open API Documentation in your browser.
π BnB-homes Front-End
BnB-homes is a website where users can book a homes, cancel a booking. The user can also see the details of a homes.
Client
- React.js
- Redux
- CSS
To get a local copy up and running, follow these steps.
In order to run this project you need:
- A web browser like Google Chrome.
- A code editor like Visual Studio Code with Git and Node.js.
You can check if Git is installed by running the following command in the terminal.
$ git --version
Likewise for Node.js and npm for package installation.
$ node --version && npm --version
Clone this repository using the GitHub link provided below.
In the terminal, go to your file directory and run this command.
$ git clone https://github.com/peterdtitan/BnB-homes.git
- Navigate into the cloned folder
cd client
$ npm install
Kindly modify the files as needed.
In the project directory, you can run:
$ npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
To run tests, run the following command:
- To Test:-
npm test
- To check Styelint error:-
npx stylelint "\*_/_.{css,scss}"
- To check Eslint error:-
npx eslint "**/*.{js,jsx}"
- To check webhint error:-
npx hint .
π€ Peter Okorafor
- GitHub: @peterdtitan
- LinkedIn: @Peter OKorafor
π€ Rishi Mishra
- GitHub: @Rishi Mishra
- LinkedIn: @Rishi Mishra
π€ Santosh Konappanavar
- GitHub: @Santosh-Konappanavar
- LinkedIn: @Santosh Konappanavar
π€ Karan Jain
- GitHub: @karanjain2212
- LinkedIn: @karanjain2212
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, please give a βοΈ
we would like to thank:
- Murat Korkmaz for a beautiful, efficient, and accessible user interface Design.
This project is MIT licensed.