WilixLead / test_product_list

Test Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test_product_list

Test Project for show my experince in Node.js and Angular development

Installing

Just write in console commands:

git clone https://github.com/WilixLead/test_product_list.git
cd test_product_list
npm install

Run

Before run this project, make shure you hame runned MongoDB server and script can access to database with localhost exception. Or just change db configuration in config.js file. Now for run application just type in command line:

node app.js

In some OS you should type

nodejs app.js

Now you can try to open next url in your browser: http://localhost:3000/

Testing

Make shure you have runned application. Open command line, goto project directory and type:

mocha tests/user.api.test.js

For test users api

mocha tests/product.api.test.js

For test products api

Enjoy! :)

About

Test Project


Languages

Language:JavaScript 90.9%Language:HTML 8.9%Language:CSS 0.2%