gjuliao / car_app_backend

This is the back end for the car app.
MIT License
0 stars 3 forks source link

logo

RENT CARS

πŸ“— Table of Contents

πŸ“– RENT CARS - Back End

RENT CARS - Back End Is a Ruby Back-End project for users to rent cars, and Admins to create and delete cars. Users will have the chance to view the history of cars reserved.

** The app front end can be found here

πŸ›  Built With

Key Features

(back to top)

Key Features

πŸ’» Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

git clone git@github.com:dgcuenca/car_app_backend.git

and then move to the folder:

cd car_app_backend

(back to top)

Install

Install dependancies with:

bundle install

Usage

In order to run the project please follow the next steps to create your credentials|masterkey pair:

  1. Delete config/master.key and config/credentials.yml.enc if they exist.
  2. Run in the terminal: EDITOR=code rails credentials:edit
  3. This command will create a new master.key and credentials.yml.enc if they do not exist.
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed
bundle exec rails start

then go to http://localhost:300

Users to log in into the app:

admin: admin@admin.com
password: 123456

user: diego@gmail.com
password: 123456

Run tests

To run tests, run the following command:

rspec spec/models/ // to test models
rspec spec/requests/api/v1  // to test controllers

Deployment

(back to top)

Kanban Board

(back to top)

πŸ‘₯ Authors

πŸ‘€ Belay Birhanu

πŸ‘€ Juan Carlos Sanchez

πŸ‘€ Diego Cuenca

πŸ‘€ Paul Saenz

πŸ‘€ Giovanni Juliao

(back to top)

πŸ”­ Future Features

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project please give it a star.

(back to top)

πŸ™ Acknowledgments

(back to top)

❓ FAQ

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)