Setup
Use the adonis command to install the blueprint
yarn install
Migrations
Run the following command to run startup migrations.
adonis migration:run
adonis seed
Test
Using Postman make request:
method: DELETE
url: http://localhost:3333/post/1
Use the adonis command to install the blueprint
yarn install
Run the following command to run startup migrations.
adonis migration:run
adonis seed
Using Postman make request:
method: DELETE
url: http://localhost:3333/post/1