- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ
- 📝 License
House Haven contains the backend code for a House Rental App, which allows users to reserve a house, add new houses, and delete existing ones. The backend is built using Ruby On Rails and communicates with the front end of the app to provide a seamless user experience. The backend includes functionality for user authentication and authorization, allowing only authorized users to perform actions such as adding or deleting houses. It also includes a Postgresql database to store information about the houses available for rent, as well as information about user reservations.
Language
- See various houses
- Reserve houses
- Add houses
- Delete houses
Click here to access the front-end app that was built with React
You can test our API endpoints from the below link.
- Link to board
- Our team consists of 3 members: @LeslieAine, @Zeph180, and @mertkantaroglu
To get a local copy up and running follow these simple example steps.
In order to run this project you need:
- First, clone this repository by using the command line :
git clone https://github.com/LeslieAine/house-rental-back-end
- Create a secret key base locally by:
- Remove config/master.key and config/credentials.yml.enc if they exist.
- Run in the terminal: EDITOR=code rails credentials:edit
- Close the editor that opens.
- This command will create a new master.key and credentials.yml.enc if they do not exist.
Install this project with:
bundle install
To run the project, follow the next steps:
- Create database with the following command:
rails db:create
- Apply migrations with the following command:
rails db:migrate
- [Optional] Run the following command to fill the database with data:
rails db:seed
- Run the app by executing:
rails s
You can deploy this project on render:
- Follow the steps in this documentation to deploy a rails app.
👤 Kigozi Joseph
- GitHub: zeph180
- Twitter: @richards_zeph
- LinkedIn: Kigozi Joseph Suubi
👤 Mert Kantaroglu
- GitHub: @mertkantaroglu
- Twitter: @aranelluinwe
- LinkedIn: mertkantaroglu
👤 Leslie Aine
- GitHub: @LeslieAine
- LinkedIn: LeslieAine
- Add rating system
- Updating house details
- Filter users by their roles
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please give us a "⭐️".
We would like to thank Microverse for project inspiration.
This project is MIT licensed.