No description
  • TypeScript 87.8%
  • Handlebars 12.1%
  • Dockerfile 0.1%
Find a file
Chip Wasson c906502a06
Some checks failed
Gitea Actions Demo / build (push) Has been cancelled
revert(wildfire): drop per-route CORS; rely on caching
2026-06-26 09:43:51 -06:00
.gitea/workflows Set registry explicitly 2023-09-04 20:20:29 -06:00
.github/workflows Migrate to fly.io, add Genre type 2024-09-01 11:28:37 -06:00
src revert(wildfire): drop per-route CORS; rely on caching 2026-06-26 09:43:51 -06:00
test Add parkio 2023-09-04 15:20:01 -06:00
views Correct img link 2026-03-09 16:37:01 -06:00
.dockerignore Migrate to fly.io, add Genre type 2024-09-01 11:28:37 -06:00
.env.example Add contact, upgrade versions, add docs 2024-10-15 17:29:35 -06:00
.eslintrc.js Add parkio 2023-09-04 15:20:01 -06:00
.gitignore Clean up, add unit tests for photo album 2026-02-16 18:55:41 -07:00
.prettierrc Add parkio 2023-09-04 15:20:01 -06:00
.yarnrc.yml Clean up, add unit tests for photo album 2026-02-16 18:55:41 -07:00
docker-compose.yaml Clean up, add unit tests for photo album 2026-02-16 18:55:41 -07:00
Dockerfile Bump container version 2026-02-17 16:16:41 -07:00
fly.toml Use same bucket for kv 2025-11-18 17:04:33 -07:00
nest-cli.json Add parkio 2023-09-04 15:20:01 -06:00
package.json Add initial baby-names service 2025-06-17 17:17:54 -06:00
README.md Add local users 2023-12-11 18:27:33 -07:00
tsconfig.build.json Add parkio 2023-09-04 15:20:01 -06:00
tsconfig.json Add parkio 2023-09-04 15:20:01 -06:00
yarn.lock Clean up, add unit tests for photo album 2026-02-16 18:55:41 -07:00

us.dev Generalized API

AKA the monolith

Quickstart

Dependencies:

  • Docker
  • Node 18
# Copy example .env
cp .env.example .env
# Install Dependencies
yarn
# Start local services
docker compose up -d
# Start Application
yarn start:dev
# Log in with development user (admin) and dev password (password)
curl --request POST \
  --url http://localhost:3000/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
	"username":"admin",
	"password":"password"
}'

The Login command will return a JSON object with access_token. You can then head over to http://localhost:3000/api, click the "Authorize" button, and enter the access_token. This will then be applied to all of the endpoints that require auth on the API page.

Configuration

Supply the following environment variables:

Env Name Description
JWT_SECRET A big string to use as the JWT token secret
ADMIN_PASS The password for the admin user