Cdn system for monsters
  • TypeScript 72.3%
  • JavaScript 26.4%
  • Makefile 0.5%
  • Dockerfile 0.5%
  • Shell 0.3%
Find a file
Jakub 108bfe6dea
Some checks failed
Test / install (push) Has been cancelled
Test / setup-config (push) Has been cancelled
Test / test (push) Has been cancelled
Test / lint (push) Has been cancelled
Test / build (push) Has been cancelled
Merge pull request #5 from Monsters-RPG-game/dependabot/npm_and_yarn/winston-3.13.1
Bump winston from 3.13.0 to 3.13.1
2024-08-15 16:14:19 +00:00
.github Init 2024-07-24 20:12:43 +02:00
__tests__ Feat: Added images upload and fetching 2024-08-04 10:16:00 +02:00
config Feat: Added images upload and fetching 2024-08-04 10:16:00 +02:00
src Feat: Rewritten config to flat config 2024-08-15 18:09:01 +02:00
.dockerignore Init 2024-07-24 20:12:43 +02:00
.editorconfig Init 2024-07-24 20:12:43 +02:00
.gitignore Feat: Added images upload and fetching 2024-08-04 10:16:00 +02:00
.prettierrc Init 2024-07-24 20:12:43 +02:00
Dockerfile Init 2024-07-24 20:12:43 +02:00
eslint.config.mjs Feat: Rewritten config to flat config 2024-08-15 18:09:01 +02:00
licence.md Init 2024-07-24 20:12:43 +02:00
makefile Init 2024-07-24 20:12:43 +02:00
package.json Merge branch 'dev' into dependabot/npm_and_yarn/winston-3.13.1 2024-08-15 16:14:08 +00:00
README.md Init 2024-07-24 20:12:43 +02:00
start.sh Init 2024-07-24 20:12:43 +02:00
tsconfig.json Init 2024-07-24 20:12:43 +02:00

Monsters - cdn

1. How to start

Install dependencies

npm install / yarn

Prepare environment

2. How to build

npm run build / yarn build

If you even encounter strange build behavior, tsconfig is set to create build with cache. Set option incremental in tsConfig to false

3. Useful information

3.1 Logs folder

Linux

~/.cache/"package.json -> productName"/logs

Windows

~/AppData/Roaming/"package.json -> productName"/logs

3.2 Testing

All test currently are written using jest. You can run all tests or just type specific tests

Available targets

yarn tests = run all tests
yarn tests:e2e = run 'end to end' tests
yarn tests:db = run 'database' tests
yarn tests:unit = run 'unit' tests
yarn test:watch = run tests in 'watch' mode

Alongside tests, this app have 'test mode' which will help you run e2e tests. It runs in memory instance of mongoDB and fill it with "fakeData.json" data