/talkative-be

A forum web app to discuss about topics, grouped in categories.

Primary LanguageTypeScript

Talkative

This is the REST API for a forum application with Express, Typescript, PrismaORM.

Getting started

Prerequisites

Installation

  1. Install dependencies
npm install

or

yarn install
  1. Create a .env file in the root directory and add the corresponding environment variables from .env.example:
cp .env.example .env
  1. Create a PostgreSQL database named talkative and run the migrations
yarn db:push
  1. Then start the project in development environment:
yarn dev
  1. To build and run the project in prod environment:
yarn start