This project is a Book Library Reservation API. It is a RESTful API that allows users to reserve books from a library. It is built with Ruby on Rails and PostgreSQL. It is a capstone project for the Microverse Full-Stack Development Program.
- Create a Rails API app called 'hello-rails-back-end'.
- Initialize the project with Git.
- Set up a Postgres database and create a table for storing messages.
- Populate the table with 5 different greetings.
- Create an API endpoint that selects a random greeting from the table.
Here is the link to the Front-End repository.
Client
Server
Database
- Gitflow
- Linters implemented
- Rubocop implemented
- Implement Model Migrations
- Implement Implement TailwindCSS
- Implement unit and integrations tests
- Implement authentication and authorization
- Use PostgreSQL
| Endpoint | Method | Description |
Link to the API Documentation
Here you can find a live demo of our frontend, that is using our own Library API (which you can also find here!
To get the project up and running on your local machine, follow these steps.
In order to run this project you need:
- To clone or fork this repo
- Ruby installed in your machine
- Ruby on Rails gem installed
- PostgreSQL install in you computer
- To modify this profile you will also need a text editor like VSCode or Atom.
Clone this repository to your desired folder:
git clone https://github.com/leloufadel/Page-To-page-Library-Backend.git
cd Page-To-page-Library-Backend
Install gem dependencies:
bundle install
Set up the database:
rails db:create
rails db:migrate
rails db:seed
To run the project, execute the following command:
rails server
To run the tests, execute the following command:
rspec
Here's our Project Board. Take a look at how we started!
👤 Sadaf Daneshgar
- 👤 GitHub: @Sadaf-Daneshgar
- 👤 Twitter: @SadafDaneshgar
- 👤 LinkedIn: Sadaf Daneshgar
👤 Santiago Ruido
- 👤 GitHub: @Arch-Noize
- 👤 LinkedIn: Santiago Ruido
👤 Garvin Chimone
- 👤GitHub: @Chimoneg27
- 👤Twitter: @GarvinChimone
- 👤LinkedIn: Garvin Chimone
👤 Aisha Alselwi
- 👤GitHub: Aisha Alselwi
- 👤LinkedIn: Aisha Alselwi
👤 Lala Aicha El Vadel
- 👤LinkedIn: @Lala Aicha El Vadel
- 👤GitHub: @Lala Aicha El Vadel
- 👤Wellfound: @Lala Aicha El Vadel
- 👤Twitter: @Lala Aicha El Vadel
Upcoming improvements:
- [ ]
Find a bug or have a feature request? Open a new issue here on GitHub.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
If you find this project helpful, please consider starring the repository. Your support is greatly appreciated!
I would like to thank the following individuals and organizations for their contribution to this project.
- I would like to express my heartfelt gratitude to Microvere for the invaluable learning experience they have provided.
- We also would like to mention that the design of the website is not ours. We followed Murat Kormaz's design in Behance, and thus follow the Creative Commons License terms.
This project is MIT licensed.