Helps to quickly setup TypeScript projects with an ExpressJS server.
- NodeJS 18+
- Docker
SLUG=typescript-sandbox-$(date +%s)
{
git clone git@github.com:experimental-software/typescript-express-template.git $SLUG
cd $SLUG
npm install
}
npm run dev
Update dependencies
npm outdated
npm update
{
git add .
git commit -m "chore: update dependencies"
git push
}
Build Docker image
docker build -t experimentalsoftware/express-server .
docker run --init -p 7000:7000 experimentalsoftware/express-server