Zhassulan / kenmore-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kenmore backend

The backend contains user queries and files functionality together.

Setup backend:

- clone project
- install latest stable NodeJS v14
- execute in project root 'npm install'
- install or provide MySQL server v.5 >=
    - create 'kenmore' database 
    - create user 'kenmore' with password
    - change PASSWORD in config/db.config.js to your generated password
    - change PORT in config/db.config.js to your MySQL port
    - restore database from dump file in 'db' folder
    - query for point 5 in task located in db/user_queries.sql file
- start backend by command in project root 'node server.js'
- for test you can use Postman collection in 'postman' folder         

About


Languages

Language:JavaScript 100.0%