Skip to content

matheusdearaujo/prisma-simple-api

Repository files navigation

Simple Rest API boilerplate with Prisma ORM and Express.

Requirements

  • yarn
  • docker-compose

Installation

- Copy the .env.example file to the .env

cp .env.example .env

Run project with docker (deploy)

- Run the database with Docker

docker-compose up -d --build

- Run migrations

docker-compose exec prisma-simple-app yarn migrate:prod

Run project in development environment

- Install project dependencies

yarn

- Run migrations

yarn migrate:dev

- Start the project in development environment

yarn dev

About

Simple API Rest boilerplate with Prisma ORM and Express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published