This repository contains sample code for a demo "items" application built on Express, NodeJs and Typescript.
The project is meant as a learning and exploration playground for Express and NodeJS. Feel free to poke around and submit PRs if you think something should be changed or can be done differently.
Create network:
docker network create <your-network>
Build Container:
docker build -t <container-name> -f <File-name> .
Run:
docker run \
--name=<your-name> \
--rm \
--network=<your-network> \
-p 3000:3000 \
<container-name>
Note: You can also use the -v
arg to specify a shared filesystem path.
Create Database
docker run --name=database --rm --network=igov -p 1433:1433 -e SA_PASSWORD="<YourStrong@Passw0rd>" -e ACCEPT_EULA="Y" mcr.microsoft.com/mssql/server