███ ▄████████ ▄▄▄▄███▄▄▄▄ ▄███████▄ ▄█ ▄████████ ███ ▄████████
▀█████████▄ ███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ▀█████████▄ ███ ███
▀███▀▀██ ███ █▀ ███ ███ ███ ███ ███ ███ ███ ███ ▀███▀▀██ ███ █▀
███ ▀ ▄███▄▄▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ▀ ▄███▄▄▄
███ ▀▀███▀▀▀ ███ ███ ███ ▀█████████▀ ███ ▀███████████ ███ ▀▀███▀▀▀
███ ███ █▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ █▄
███ ███ ███ ███ ███ ███ ███ ███▌ ▄ ███ ███ ███ ███ ███
▄████▀ ██████████ ▀█ ███ █▀ ▄████▀ █████▄▄██ ███ █▀ ▄████▀ ██████████
▀
Source for ASCII-fonts: https://www.coolgenerator.com/ascii-text-generator (Font: Delta Corps Priest 1
This is template for an Express/TypeScript project in VS Code with linting. It will make the test api available via http://localhost:8081/api/test.
To have an easier start for my projects.
Make sure pnpm is installed (npm install -g pnpm
).
pnpm i
To create a docker image use pnpm build-image
.
To run the API server locally (without docker compose) use the VS Code launch config.
With docker (compose), run pnpm up-container
and pnpm down-container
correspondingly.
The API port is configurable via an environment variable "API_PORT". The VS Code launch config (.vscode/launch.json) and the provided docker compose file (config/local-api/docker-compose.yaml) set the API_PORT to 8081.
pnpm up --latest
to update all packages to the latest version.
pnpm add -Dw <package>
to add a package to the project. The -D
flag is for development dependencies and the -w
flag is for workspace.
- Collect all the latest versions.
- Replace npm with pnpm.
- Use 'NodeNext' for module resolution.
- Replace jest with mocha.
- Template restriction for linting removed.
- Documentation in readme extended.
- Initial commit.