Devise requires master.key to run this API correctly.
Put d1e3682323230325aff7a5ed53ec92e1
inside config/master.key
for running this app.
- Clone the new repository to your local machine
[email protected]:Ukhanskyi/managing_project_system.git
orhttps://github.com/Ukhanskyi/managing_project_system.git
- Run
bundle install
- Run
rails db:create db:migrate db:seed
- Run
rails s
to start your api server on port 3000 - For testing this API please use Postman or Swagger (when your local server is running)
- Run
docker-compose build
- Run
docker-compose run web rails db:create db:migrate db:seed
- Run
docker-compose up
- Run spec
docker-compose run web rspec
- Run rubocop
docker-compose run web rubocop
- Run swagger
docker-compose run web rails rswag
- Swagger
http://localhost:3000/api-docs/index.html
orhttp://0.0.0.0:3000/api-docs/index.html
- Postman
https://elements.getpostman.com/redirect?entityId=9811729-b97bbb9e-6fb6-45e7-a289-70a3963c2fb3&entityType=collection