This is Rest API built with Ruby on Rails.itβs purpose is a backend for a frontend app.
- Ruby v2.7.2
- Ruby on Rails 6.1.4
- PostgreSQL
- Rubocop
- Rspec
- Capybara
To get a local copy of the repository please run the following commands on your terminal:
$ cd <folder>
$ git clone https://github.com/MahmoudBakr23/Measures-API.git
$ bundle install
rails db:create
$ rails db:migrate
Below shows the following commands you will need to run tests:
Open terminal
$ bundle exec rspec
ROUTES | HTTP Verb | Description |
---|---|---|
/signup | POST | Create a new user |
/login | POST | Login |
/logged_in | GET | Get the current user |
/all/measures | GET | Get all user's measures |
/measures/:id | GET | Get single measure |
/create/measure | POST | Create a new measure |
/logout | DELETE | End current user session |
π€ Mahmoud Bakr
- Github: Mahmoud Bakr
- Linkedin : Mahmoud Bakr
Contributions, issues and feature requests are welcome!
Give a βοΈ if you like this project!
- Microverse