Skip to content

abdelhadidevv/prisma-with-postgresql-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Backend Example with Prisma and PostgreSQL

This just simple Node.js backend app show how to getting started with Prisma and PostgreSQL using Typescript.

Getting Started

  1. Add your DATABASE_URL in .env file:
DATABASE_URL="RBRACE_TO_YOUR_POSTRGRESQL_URL"
  1. Run this command:
npx prisma migrate dev
  1. And run this command:
npx prisma generate
  1. And run this command to add default data to database:
npx prisma db seed
  1. If you want to run the project run this command:
npm run dev

About

Node.js Backend Example with Prisma and PostgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published