Project

1. DOCKER (./docker)

A. install docker
B. docker-compose up -d


2. SERVER (./server)

A. install nodejs
B. npm install
C. npm install -g nodemon
D. run "node gen.js" to create the TOKEN_SECRET value (won't work without it)
E. make .env file with the following (change values in production (including the 'xxx' values)):

TOKEN_SECRET = xxx
COOKIE_PARSER_SECRET = xxx
ARGON2_SECRET = xxx
ARGON2_TIME_COST = 40
ARGON2_MEM_COST = 5120
ARGON2_NUM_THREADS = 1
NANOID_LEN = 4
CLIENT_API = http://localhost:3000
EXPIRE_ACCOUNT = 86400
SERVER_AMOUNT = 1
NODE_ENV = development
REDIS_URL = xxx

E. nodemon (run nodejs server)


THUNDERCLIENT SERVER (./server/tests)

A video tutorial (optional)
B. import JSON(s)
C. run collection in numbered order


ALL HELPFUL/IMPORTANT INSTALLS

Nodejs
Git
Docker
VScode
VScode (Svelte)
VScode (Docker)
VScode (Thunder Client)
AnotherRedisDesktopManager


OTHER

npm: update packages

npm install -g npm-check-updates
npm ncu -u
npm update