A simple authentication API built with Node.js, Express, Prisma, and JWT.
-
Install dependencies
npm install
-
Create a PostgreSQL database
-
Create a
.env
file in the root directory and add the environment variables listed in the.env.example
file -
Run the migrations
npx prisma migrate dev
-
Run the server
npm run dev