Run cp .env.example .env and eventually set up variables.
Run npm i to install dependieces.
Run npm run build && npm run createdb to initalize codebase.
Then run npm start and go to http://localhost:3000.
Run npm run build in a terminal to build the project.
Run npm run clean to clean compiled code.\
Run npm run createdb to make database and insert data.
Run npm run base:make to make database.
run npm run base:insert to insert sample data into databse for testing.
Run npm run base:clear to remove databse.
After setup there are two test users in database with login/password:
user1/user1user2/user2
Start server with npm start and go to http://localhost:3000.
Script npm run lint is for linting the codebase.