Skip to content

Davinder1436/fasalbazaar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the API with Docker Compose and Prisma Studio

This guide provides step-by-step instructions on how to set up and run your API using Docker Compose and visualize your data with Prisma Studio.

Prerequisites:

1. Start the Database with Docker Compose:

  1. Navigate to your project's root directory (where docker-compose.yml resides).

  2. Open a terminal window.

  3. Run the following command:

    docker-compose up -d
  4. Run the API Development Server:

Navigate to the API folder within your project directory.

Open a terminal window in this directory. Run the following command to start the development server:

  npm run dev

3.Visualize Data with Prisma Studio: While the API development server is running (from step 2), open a new terminal window.

Navigate to the root directory of your project (where docker-compose.yml resides).

Run the following command to launch Prisma Studio:

npx prisma studio

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published