All checks were successful
Build container images / build (push) Successful in 1m53s
Template project for creating new Node.js / TypeScript services
Get Started
Pull down the code
git init
git pull https://gitea.jbrumond.me/templates/nodejs-typescript-service.git master
Update configuration
- In
package.json
, update any fields likename
,description
,repository
, etc.
Building from source
npm ci
npm run tsc
# Make a directory to store data in
mkdir ./data
# Run the server
APP_PATH="./build" DATA_PATH="./data" CONF_PATH="./conf" node ./build/start.js
Building container image
docker build . -f Dockerfile -t nodejs-template-service:latest
Description
Languages
TypeScript
84.2%
CSS
7.2%
Mustache
4.2%
JavaScript
2.8%
Dockerfile
1.6%