ElsonOtake / Final_capstone_backend

Book exotic vehicles website. React consumes data from a Ruby on Rails API. It allows users to register and make reservations. Build with React, Ruby on Rails, and PostgreSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“— Table of Contents

πŸ“– Exo Cars - Final Capstone (Back End)

Exo Cars is a website for renting exotic cars. It allows users to register, see the available cars and make reservations. Admin users are allowed to add and remove cars from the database.

Front-end Repo

Final Capstone Front End

πŸ›  Built With

Tech Stack

Client
Server
Database

Key Features

(back to top)

πŸš€ Live Demo

(back to top)

πŸ’» Getting Started

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

Prerequisites

In order to run this project you need:

Ruby

Setup

Clone this repository to your desired folder:

using HTTPS:

  git clone https://github.com/ElsonOtake/Final_capstone_backend.git
  cd Final_capstone_backend

using an SSH key:

  git clone git@github.com:ElsonOtake/Final_capstone_backend.git
  cd Final_capstone_backend

using GitHub CLI:

  git clone gh repo clone ElsonOtake/Final_capstone_backend
  cd Final_capstone_backend

Install

Install this project with:

  bundle install
  bundle exec figaro install

Add the following content to the config/application.yml and fill in your Postgres username and password:

  DATABASE_HOST: localhost
  DATABASE_USER: your_username
  DATABASE_PASSWORD: your_password

Create the database and load the initial data:

  rails db:create db:migrate db:seed

Usage

To run the project, execute the following command:

  rails server

Run tests

To run tests, run the following command:

  rspec spec/requests
  rspec spec/models

To generate the API documentation:

  rake rswag:specs:swaggerize

(back to top)

πŸ‘₯ Authors

πŸ‘€ Antonio HincapiΓ©

πŸ‘€ Elson Otake

πŸ‘€ Giuseppe Tomasini

πŸ‘€ Gonzalo A. Medina

(back to top)

πŸ”­ Future Features

  • Implement Postgresql date range type for bookings

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

πŸ™ Acknowledgments

I would like to thank:

This site is based on the design created by Murat Korkmaz on Behance, this design is under the Creative Commons license of the design.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

Book exotic vehicles website. React consumes data from a Ruby on Rails API. It allows users to register and make reservations. Build with React, Ruby on Rails, and PostgreSQL.


Languages

Language:Ruby 99.7%Language:HTML 0.2%Language:Shell 0.1%