This is the REST API for a forum application with Express, Typescript, PrismaORM.
- Install dependencies
npm install
or
yarn install
- Create a
.env
file in the root directory and add the corresponding environment variables from.env.example
:
cp .env.example .env
- Create a PostgreSQL database named
talkative
and run the migrations
yarn db:push
- Then start the project in development environment:
yarn dev
- To build and run the project in prod environment:
yarn start