Booking_app is a fullstack web application that is built on rails framework and React which allows users to make basic reservations of their favorite cars and as well add in a car for rent.
Frontend of the app is build with Javascript as language and React - Redux as Framework, to render cars, forms for reservations,login... etc visit there and Follow the prerequisites
- Ruby
- ROR
- Postgresql
Ruby on Rails (simplify as Rails) is a server-side web application framework written in Ruby under the MIT License. Rails is a modelβviewβcontroller (MVC) framework, providing default structures for a database, a web service, and web pages. It encourages and facilitates the use of web standards such as JSON or XML for data transfer and HTML, CSS and JavaScript for user interfacing.
Client
Server
Database
Key features of the application
- Login/Sign up
- Make a basic reservation
Additional features
- Admin Role
- Only Admin can add car
- Only Admin can delete car
- Check here API documentation Booking app
-
We are a group of 4 team members, and our Kanban board is divided in two parts: -- Frontend -- Backend
-
Check here Kanban Board
-
Check here initial state of the Kanban Board Screenshot
- Frontend part of the project Booking-app-frontend
Currently, the live version of the app is not available. However, you can still view the app by following the provided prerequisites and process. Unfortunately, having a live version of a full-stack app can be quite expensive. I hope you understand the limitations we are facing. We are continuously working to improve the app and make it more accessible to everyone. Thank you for your patience and understanding.
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Ruby and Rails on you operating system eg. for Ubuntu 20.04
- React.js
- Node.js installed
- PostgreSQL database installed
Note for Frontend follow there prerequisites
Clone this repository to your desired folder:
cd my-folder
git clone https://github.com/enis-memic/booking_app_api
Install this project with:
cd booking-app-api
bundle install
- Please create
.env
file and add this line SECRET_KEY_BASE = your secret key. - Generate secrey key by running command
rails secret
- Check Ruby version and database.yml file. ( Insert your username and password if there is required)
- Please run
rails db:create
andrails db:migrate
. - Please run
rails db:seed
for gathering all the cars and admin user. - Login for admin is:
(email: admin@admin.com ; password : password)
- Please switch base url in frontend app from rendered url to our localhost url
http://localhost:3000/
To run the project, execute the following command:
npm run dev
rails s
To run tests, run the following command:
bin/rails rspec spec
π€ Enis Memic
- GitHub: @enis-memic
- LinkedIn: enis-memic
π€ Habtamu Birru
- GitHub: @Habtamu210
- Twitter: @beleyaha
- LinkedIn: @habtamu-
π€ Musong Ernest
- GitHub: @ernestmusong
- Twitter: @MusongAkeh
- LinkedIn: Musong Ernest
π€ Adarsh Pathak
- GitHub: @PowerLevel9000
- Twitter: @PowerLevel9002
- LinkedIn: Adarsh pathak
- Search functionality
- Page pagination
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give this project a βοΈ.
I would like to acknowledge:
- Microverse for the opportunity to work on this project
- The creative common for the design
- Design from Murat Korkmaz on Behance
-
Is Rails still relevant?
-
Is it easy to learn Ruby on Rails
This project is MIT licensed.