📗 Table of Contents
Vesper-backend is the rails backend API application for the full stack vesper app. It provides all the endpoints for the frontend to consume. Here the logic for the app is implemented.
Database
- Handles logic for storing and retrieving data from the database
- Handle logic for authentication and authorization
- Handles logic for returning data to the frontend
To get a local copy up and running, follow these steps.
In order to run this project you need:
git
bundle
Your favorite text editor
Clone this repository to your desired folder:
git clone https://github.com/Shisui6/car-rental-back-end.git
Connect to your local postgres database:
add a .env file to the root directory
inside the .env file, set the following environment variables:
POSTGRES_USER=<username>
POSTGRES_PASSWORD=<password>
POSTGRES_HOST=<host>
POSTGRES_PORT=<port>
Make sure to replace the default text after the '=' sign with values for your local environment
Install this project with:
cd car-rental-back-end
bundle install
rails: db:create - create the database
rails: db:migrate - run pending migrations for the current environment.
To run the project, execute the following command:
rails server - Starts the development server
rails console - Starts the interactive command line
To run tests, run the following command:
rspec - Runs the test suite
👤 Shisui
👤 Sonick
- GitHub: @Sonickmumba
- LinkedIn: LinkedIn
👤 Usirusen
- GitHub: @UsirusenIkon
- LinkedIn: LinkedIn
👤 Yousufi
- GitHub: @zakiyousufi
- LinkedIn: LinkedIn
- Add more endpoints
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please leave a star🤩
This project is MIT licensed.