| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
rails s to run the server
http :3000/signup name=ash email=test@email.com password=foobar password_confirmation=foobar to sign-up and get authorization token
http :3000/auth/login email=test@email.com password=foobar to log-in
http :3000/tasks page==2 Accept:'application/vnd.tasks.v1+json' Authorization:'token' to see all Tasks with pagination and default V1 version
http POST :3000/tasks/1/points name='Listen to Don Giovanni' Accept:'application/vnd.tasks.v1+json' Authorization:'token' to post new point of TASK with ID 1
Ruby: 2.7.2p137
Rails: 6.0.3.4
database: postgresql
git clone https://github.com/tmtocb/tasks-JSON-REST-API-TDD
bundle install
rails db:drop db:create db:migrate
rails db:seed to seed database with faker data
rails s
binding.pry to debug
rubocop for static-code-analysis
brakeman for security vulnerability checks.
bundler-audit for Bundler security verification
rspec to run full test suite
guard for autotests live in development
| Back | FazBrowse Home | New Git URL |