kunal202 / Remote-Roofing

prelimnary Internship Test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

Installing Dependencies

npm install express sequelize mocha

Setting Up Database

Follow the postgresql guidelines, download an install postgres v9.6.

Create Database

psql -U postgres
> create database roofing;
> \q

and assign user and password to it as per your choice

Run Migrations

npx sequelize db:migrate

Seed Users

npx sequelize-cli db:seed:all

Running Development Server

Run node server.js

Open [http://localhost:5343](http://localhost:5343) with your browser to see the result and start posting query through `Postman` or through your browser.

Testing

My code coverage is 70% and you can run the test using npm test

About

prelimnary Internship Test


Languages

Language:JavaScript 100.0%