Homely is a web app build using Ruby on Rails back-end and React front-end. Homely-backend provides the backend APIs, and Hello React Frontend consumes the APIs. The app allows user to see and book houses for onsite visits.
We are a team of 4 members.
Server
Database
- [Allows users to add houses]
- [Allows users to book/reserve visits to houses they like]
- [Delete houses]
- [See reservations]
To get a local copy up and running, follow these steps.
In order to run this project you need:
gem install rails
Clone this repository to your desired folder:
git clone https://github.com/belmeetmule/homely-backend.git
Install this project with:
cd homely-backend
bundle install
rails db:create
rails db:migrate
1. Remove config/master.key and config/credentials.yml.enc if they exist.
2. Run in the terminal: EDITOR=code rails credentials:edit , then close the editor that opens.
3. This command will create a new master.key and credentials.yml.enc if they do not exist.
To run the project, execute the following command:
rails server
To run tests, run the following command:
rspec spec
👤 Akhror Valiev 👤 Mulugeta Belete 👤 Wahaj Ali 👤 Chukuwuma Mosanya
- GitHub: GitHub Profile
- LinkedIn: LinkedIn Profile
- GitHub: GitHub Profile
- LinkedIn: LinkedIn Profile
- GitHub: GitHub Profile
- LinkedIn: LinkedIn Profile
- GitHub: GitHub Profile
- LinkedIn: LinkedIn Profile
- Add admin role so that the admin see the booking in a given date and/or date range
- Use pagination in stead of sending all houses in sindle get request
- Search for houses
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, you can give star this repo.
We would like to thank microverse for supporting to do this project.
This project is MIT licensed.