Skip to content

transcendece/Prisma-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SETTING UP DATABASE

First step

Install Prisma with the following command : `npm install prisma` --save-dev

Second Step

Start a prisma project using the following command : `npx prisma init`

Third Step

replace the schema.prisma and .env files with our own files. add the docker-compose.yml file

Fourth Step

RUN the following commands

`docker-compose up -d` `npx prisma migrate dev`

Now the data base should be up and running

In case you want to visualise the database you can run the following command : ` npx prisma studio`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published