Code Monkey home page Code Monkey logo

olawalejoseph / drive-super-cars-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from somoye123/drive-super-cars-backend

0.0 1.0 0.0 110 KB

A RESTful Rails API only application. It uses Auth0 for Authorization. This API is built as the back end for a web application that involves booking appointments to test drive supercars. It also uses Active storage to store and retrieve images from cloudinary

Home Page: https://drive-super-cars.herokuapp.com

Ruby 99.50% HTML 0.50%

drive-super-cars-backend's Introduction

Drive Super Cars API

A RESTFUL API built with Ruby on Rails. It uses Auth0 to implement Authentication & Authorization.

About this project

This API is built as the back end for a web application built with React on the front end and is separately deployed to Netlify.

End Points

There are a couple of endpoints exposed by this api and can be accessed online using this path as the base Url.

POST

  • /users - (create user account)
  • /appointments - (create appointment)

GET

  • /cars - (fetch all cars)
  • /cars/:id - (fetch single car)
  • /users/:id - (fetch user appointments)

Built With

  • Ruby on Rails
  • Postgresql
  • Heroku
  • Rspec
  • Auth0

Live Demo

For the full working application Click here

Installation

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

Setup

Clone this repository

Follow:

  1. cd into the project directory
  2. run bundle install
  3. run rails db:migrate
  4. run rails db:seed
  5. replace ENV variables with yours in app/lib/json_web_token.rb
  6. Navigate to localhost:3001

Run tests

  • Run:
    • rpsec

Author

๐Ÿ‘ค Somoye Ayotunde

๐Ÿค Contributing

  • Contributions, issues and feature requests are welcome!

  • Feel free to check the issues page

Show your support

  • Give a โญ๏ธ if you like this project!

drive-super-cars-backend's People

Contributors

somoye123 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.