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