#AppointCar API
- Ruby
- Ruby on Rails
- JWT (JSON Web Token)
Clone the repository to your machine and cd into the directory
$ git clone git@github.com:MouhaDiouf/appointment.git
$ cd appointment
Use the following command to start the rails server then visit: http://localhost:3000 to use the app
$ rails s
This is a fully-built Rails API that serves a front-end React application (can be found [here][https://appointcar.netlify.app/])
The user can:
- Create or log in to its account
- Fetch cars from the front end
- Book for cars
- Update bookings
- Cancel/Delete booking
The user can only do these queries from the front-end application. This rails API's access is protected with Jwt (JSON Web Token). This means that the API is not available outside of the front-end application.
- Fork it https://github.com/MouhaDiouf/appointment/fork
- Create your feature branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -am 'What this commit will fix/add')
- Push to the branch (git push origin feature/[chosen name])
- Create a new Pull Request