Skip to content

mp371366/math-quiz

Repository files navigation

Math quiz

Minimal setup

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.

Building

Run npm run build in a terminal to build the project.
Run npm run clean to clean compiled code.\

Database setup

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/user1
  • user2/user2

Start

Start server with npm start and go to http://localhost:3000.

Other

Script npm run lint is for linting the codebase.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors