- 📗 Table of Contents
- [📖 Private Parking ](#-Private Parking-)
This is a full-stack project with CURD operations. In which you can register yourself create a slots, book an parking slot , see all reservations.
Client
- React
Server
- Ruby on Rails
Database
- Postgresql
- User can register himself.
- Add a slot.
- Book a slot.
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Laptop/Desktop.
- Internet.
- Ruby.
- Rails.
- PostgreSQL.
- Vs Code.
Clone this repository to your desired folder:
mkdir my-folder
cd my-folder
git clone git@github.com:Zainab-Alzubair/private-parking-backend.git
cd private-parking-backend
- Remove config/master.key and config/credentials.yml.enc if they exist.
- Run in the terminal:
EDITOR=code rails credentials:edit
- This command will create a new master.key and credentials.yml.enc if they do not exist.
bundle install
- Change username and password in config/database.yml file
- Run these commands to create and migrate database schema
rails db:create
rails db:migrate
To run the project, execute the following command:
rails server
rails db:migrate RAILS_ENV=test
rspec ./spec/models/
rubocop
- For deployement on render follow the instructions. Getting Started with Ruby on Rails on Render
Zainab Al-Zubair
- GitHub: Zainab Al-Zubair
- LinkedIn: Zainab Al-Zubair
- Add Full Authorization
- Developing more pages
- Enhance Design
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project you can fork it.
This project is MIT licensed.