A RESTFUL API built with Ruby on Rails. Its uses BCrypt and JWT gems to implement Authentication & Authorization. It performs CRUD operations on the various resources it serves.
This API is built as the back end for a mobile web application (Microverse Jobs) built with React on the front end and is separately deployed to Netlify.
There are a couple of endpoints exposed by this api and can be accessed online using https://microverse-jobs-api.herokuapp.com/ as the base Url.
- /api/v1/users - (create user account)
- /api/v1/login - (create session)
- /api/v1/jobs - (create job)
- /api/v1/users - (fetch all users)
- /api/v1/favorites - (fetch all favorites)
- /api/v1/user-jobs - (fetch all logged in user's favorited jobs)
- /api/v1/jobs - (fetch all jobs)
- /api/v1/jobs/:id - (fetch all particular job)
- /api/v1/favorites/:id - (update favorited status when user adds/removes job to/from favorites)
- /api/v1/jobs/:id - (edit jobs)
- DELETE /api/v1/jobs/:id - (delete job)
- Ruby on Rails
- BCrypt gem
- JWT gem
- Postgresql
- Heroku
For the full working application Click here
To get a local copy up and running follow these simple example steps.
Clone this repo
cd
into the project directory- run
bundle install
- run
rails db:migrate
- run
rails s
- Navigate to localhost:3000.
- And we are live... 😃
👤 Contacts
- LinkedIn: Phillip Musiime
- GitHub: PhillipUg
- Twitter: @Phillip_Ug
- E-mail: phillipmusiime@gmail.com
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.