- Pizza Restaurant
The following projects are created by:
- Terry Wachuka
check GEMFILE
- rails db:migrate
- rails server
- rails db:migrate
- rails server
- sqlite in use , add extension on VS code.
- download a zip file under code tab.
- extract the downloaded zip folder
- open the folder with VS code
- Run this command on the terminal to run server:
console $ rails server
- Use Postman to view the data through routes in BDD
As a user should;
##### BDD
As a user should;
- GET /heros return all heros in an array
- GET /heros/:id return the heros matching the id together with a power array including all powers related to the heros.
- GET /powers return all powers in an array
- GET /powers/:id return the powers matching the id.
- PATCH /powers/:id return an updated power object.
- POST /hero_powers create a hero_powers instance that is associated with an existing `Hero` and `Power'
The application works perfectly well, no bugs.
The following projects used the technologies
:
- RUBY, 2.7.4
- RAILS
- Active Record
Email: [email protected]
Licensed under [MT License] ("https://github.com/T-erry/superheroes/blob/main/LICENSE.md")