Skip to content

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.

Notifications You must be signed in to change notification settings

ElsonOtake/Final_capstone_backend

Repository files navigation

📗 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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages