Skip to content

Valentin1918/math-knowledge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math knowledge project

Math knowledge project made on NodeJS, AngularJS and Bootstrap

Initial steps:

0) Before start install postgreSQL, node and npm on your computer!

1) In postgreSQL create a DB "math-knowledge"

2) Your "connect to server password" in postgreSQL need to be equal 1

if not, go to server.js and on the 5-th line change 1 to your own password

3) Install Bower (If you haven't Bower in your computer):

npm install -g bower

Go to the project folder and:

4) Install the project dependencies listed in bower.json:

bower install

If your command line throw an error during bower install -- try bower cache clean and do it again

If it will be proposed to chose the Angular version -- select answer ? 4

5) Install the node modules listed in package.json:

npm install

6) run node server.js in your command line.

7) go to http://localhost:3000/index.html in your browser.

Using:

During first server run will be created table "pupils" with columns: pupil_id, name, password and grade:

1 Valik 12345 4

2 Vasia 23456 3

3 Vania 34567 3

Use them to login

(field grade influence on complexity of the generated problems)

After login you can select needed problems type in "Settings" tab and use the main app functionality in "Task" tab.

Correct/incorrect answers counters are on the right of generated problem.

All answers are visualised in table below the generated problem.

The same time each answer is saved in "problems" table in DB (in case of first answer this table creates).

After that you can logout (all cookies and local storage data is removes).

During next login you will see all your previous results (with answer counters and all answers).

Table "problems" is linked with table "pupils" by pupil_id field.

The data which is stored in tables will be enough to procure all indicated in task SQL queries.

About

NodeJS, AngularJS, Bootstrap application for pupils to check their math knowledge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published