Skip to content

LuisPerisVidal/typescript-express-skeleton

Repository files navigation

TypeScript Express Skeleton (base / project starter)

This is a repository intended to serve as a starting point if you want to bootstrap a express API project in TypeScript with examples.

Prepare application

Create a .env file

# REQUIRED
PORT=3000
# OPTIONALS
DB_HOST=localhost
DB_USER=root
DB_PASS=123456
DB_DATABASE=kuria
SALT=kuriafilosofea

Running the app

# install dependencies
npm install

# run in dev mode
npm run dev

# generate production build
npm run build

# run generated content in dist folder
npm run start

Testing

Jest with supertest

npm run test

Rest Client (Visual Studio)

Open folder /testrestclient

Features

About

TypeScript Express Skeleton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published