2023-07-28 20:02:34 -07:00
2023-07-28 20:02:34 -07:00
2023-07-29 17:32:16 -07:00
2023-07-23 16:04:49 -07:00
2023-07-23 16:04:49 -07:00
2023-07-23 19:43:05 -07:00
2023-07-23 19:43:05 -07:00

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 like name, 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
Template project for creating new Node.js / TypeScript services
Readme 319 KiB
Languages
TypeScript 92%
CSS 3.1%
Mustache 2.5%
Dockerfile 2.4%