Skip to content

mertdenizgez/expressjs-typescript-postgresql-template

Repository files navigation

Rest API with Expressjs-Typescript-Postgresql

A rest api application for retrieve data from Postgres by using Node.js, Express, Typescript and Sequelize.

Mert Denizgez

[email protected]

Quick Start

Install the dependencies:

yarn install

Set the environment variables:

cp .env.example .env

Environment Variables

Example environment variables that .env file should inclue

# Port number
PORT=3000

# Database config
DATABASE='DBNAME'
DB_USERNAME='USERNAME'
DB_PASSWORD='PASSWORD'
DB_HOST='localhost'

Commands

yarn start

Linting:

# run ESLint
yarn lint

# run prettier
yarn format

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published