This will be some of the backend for the Kelsoncraft Website using ExpressJS and Typescript.
  • JavaScript 99.4%
  • TypeScript 0.4%
  • EJS 0.1%
Find a file
kelson8 f7a3f44a24 Move some items into env
* Move max website requests into .env.
* Setup util.ts which for now just hadnles the rate limit config.

* Fix dark mode toggle to work.
* Add darkmode.css, and add to-ms to package.json.
2026-06-22 13:33:38 -04:00
public Move some items into env 2026-06-22 13:33:38 -04:00
src Move some items into env 2026-06-22 13:33:38 -04:00
views Move some items into env 2026-06-22 13:33:38 -04:00
.env.example Move some items into env 2026-06-22 13:33:38 -04:00
.gitignore Add IP filtering, add dev mode check and more 2026-06-22 11:40:24 -04:00
LICENSE Add files to repo 2026-06-21 13:11:56 -04:00
package.json Move some items into env 2026-06-22 13:33:38 -04:00
pnpm-lock.yaml Move some items into env 2026-06-22 13:33:38 -04:00
pnpm-workspace.yaml Add IP filtering, add dev mode check and more 2026-06-22 11:40:24 -04:00
Readme.md Add IP filtering, add dev mode check and more 2026-06-22 11:40:24 -04:00
tsconfig.json Add IP filtering, add dev mode check and more 2026-06-22 11:40:24 -04:00

ExpressJS Backend Test

This is a test for the new ExpressJS Typescript backend for the Kelsoncraft website.

I may implement authentication and other stuff with this in the future.

You will need pnpm installed to run this project.

Pnpm Commands

Command Description
pnpm run dev Run the dev server.
pnpm run dev:watch Run the dev server, and also watch the SCSS for outputting it.
pnpm run build Build the ExpressJS site to ./dist.
pnpm run start Run the ExpressJS site from ./dist.
pnpm run scss Build the SCSS file, watches it a and copies it from ./src/scss/main.css to ./public/css/main.css