matheusdearaujo / prisma-simple-api

Simple API Rest boilerplate with Prisma ORM and Express.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:TypeScript 98.1%Language:Shell 1.1%Language:Dockerfile 0.9%