Skip to content

spock123/proto-backend

Repository files navigation

Prototype backend using Node, Typescript, Express, Prettier, EsLint, Jest

Global dependencies

node v.12+, Docker (docker-compose)

Installation

npm install

Develop (start server in dev mode, listening to port 8080, automatically rebuilds on code changes)

docker-compose up -d (starts database) npm run dev (starts backend in developer mode)

Dist build

npm run build

Run dist version (on port 8080)

npm run serve

Start database

docker-compose up -d

Linting

npm run lint
npm run lint:watch

Unit testing (coming soon)

npm run test:unit

Integration testing (coming soon)

npm run test:integration

Data endpoints

Products

http://localhost:8080/products

Users

http://localhost:8080/users

About

Backend for our little project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published