DEV Community

Cover image for Create API and database connection using Nodejs and Prisma | Video
Marcos RJJunior
Marcos RJJunior

Posted on • Edited on

Create API and database connection using Nodejs and Prisma | Video

This is the first tutorial of the serie starting with node.

In today’s video, we implement a Nodejs environment using typescript. A basic structure that you can also use for any other project.

To manage SQL queries we are using Prisma ORM. The library also generates migration and schema types for the codebase.

The same structure will be used in the next video, where we are going to implement the user authentication and protect the routes.

In this demo application, you will create a simple Note model, we also create API routes to list all the items and create a new record.

Challenge for you to build the delete and update functions, let me know how it goes.

Top comments (0)