Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma ORM Imlementaion

Implementation of Prisma ORM in TypeScript and PostgreSQL For Docs visit https://www.prisma.io/docs/prisma-postgres/quickstart/prisma-orm

Tech Stack

  • Backend: Node.js, Typescript
  • Database: PostgreSQL

Prerequisites

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)

Getting Started

Follow these steps to set up and run the development environment on your local machine.

1. Clone the Repository

git https://github.com/shivasnr/prisma-orm.git
cd prisma-orm

2. Environment Configuration

You 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"

Installation & Running

Populate DB

Manual Setup

    npx tsx script.ts
    

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages