This is Rest API built with Ruby on Rails.itβs purpose is a backend for a frontend app.
- Ruby v3.0.1
- Ruby on Rails 6.1.4
- Postgres
- Rubocop
- Rspec
- Capybara
- Stylelint
To get a local copy of the repository please run the following commands on your terminal:
$ cd <folder>
$ git clone git@github.com:rahalrazika/rails-api.git
$ bundle install
rails db:create
$ rake db:migrate
Below shows the following commands you will need to run tests:
Open terminal
$ bundle exec rspec
ROUTES | HTTP Verb | Description |
---|---|---|
/users | POST | Create a new user |
/login | POST | Login page |
/auto_login | GET | Show current user |
/favourites | GET | Show all the favourites |
/favourites | POST | create a new favourite |
/favourites/:id | DELETE | Delete favourite |
/partnerships | GET | Show all the partnerships |
/partnerships | POST | Create a new partnership |
/partnerships/:id | DELETE | Delete partnership |
/projects | GET | Show all the projects |
/projects/:id | GET | Show a project details |
π€ Razika Rahal
- Github: @rahalrazika
- Linkedin : Razika Rahal
- Twitter: @Razika Rahal
Contributions, issues and feature requests are welcome!
Give a βοΈ if you like this project!
- Microverse