Implementation of Prisma ORM in TypeScript and PostgreSQL For Docs visit https://www.prisma.io/docs/prisma-postgres/quickstart/prisma-orm
- Backend: Node.js, Typescript
- Database: PostgreSQL
Before setting up the project locally, ensure you have the following installed:
- Node.js (v20.x or higher recommended)
- npm (comes packaged with Node)
- MongoDB (Local Community Edition or a MongoDB Atlas cloud account)
Follow these steps to set up and run the development environment on your local machine.
git https://github.com/shivasnr/prisma-orm.git
cd prisma-ormYou need to create environment variable configuration files for both the backend and frontend. Add DATABASE_URI in .env file
DATABASE_URL="postgresql://postgres:youpassword@localhost:5432/prisma?schema=public" npx tsx script.ts