Tooyosi / asb_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASB Backend Developer Test

ASB Backend Developer Test

Installation

npm install

Start the app

node app.js

Seeding the Db

sequelize db:seed:all

Documentation

 http:{your ip address}:{your port}/api-docs

Testing

npm run test
npm run testRoute (End to end)
npm run testController

Sample .env file

DEV_DATABASE_URL=postgres://postgres: @127.0.0.1/adb_test
TEST_DATABASE_URL=postgres://postgres: @127.0.0.1/adb_test
IP="127.0.0.1"
PORT=8080
DB="adb_test"
DB_USER=postgres
DB_PASSWORD="' '"

About


Languages

Language:JavaScript 99.8%Language:Dockerfile 0.2%