- Install dependencies:
npm i
# or
yarn- Create
.envfile (read more in Prisma ORM documentation):
DATABASE_URL="your:path/to/db"- Run dev server:
npm run dev
# or
yarn devAll CRUD operations are available using following endpoints:
api/contacts- GET and POST methodsapi/contacts/{id}- PUT and DELETE methods
Open http://localhost:3000 with your browser to see the result.
Some preview images.
You can read a Swagger API documentation in docs/swagger.yaml (go to file).



