This will be some of the backend for the Kelsoncraft Website using ExpressJS and Typescript.
- JavaScript 99.4%
- TypeScript 0.4%
- EJS 0.1%
* 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. |
||
|---|---|---|
| public | ||
| src | ||
| views | ||
| .env.example | ||
| .gitignore | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| Readme.md | ||
| tsconfig.json | ||
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 |