Skip to content

aungkhantkyaw9/d3hiring-nodejs-coding-challenge

Repository files navigation

d3hiring NodeJS Coding Challenge

Pre-requisites

  • Node version 16.17.1 or later
  • npm is required to run the server
  • implemented using Node.JS and MySQL

Libraries and Framework used in this project


Project Setup

Clone repository from https://github.com/aungkhantkyaw9/d3hiring-nodejs-coding-challenge.git

Then, run following:

> npm install

If npm install encounters conflicting peerDependencies, use following command

> npm install --legacy-peer-deps

When installation finished, open project and create .env file under root directory. Then copy data from .env-local file and paste paste to .env file

Before starting server, create database named university in local mysql. Note that if you can't use sequelize command, install it as global package.

> npm install -g sequelize-cli

After finished, run following commands

> sequelize db:migrate

When finished, start the server using npm start . Then you can access API by browsing to http://localhost:4000

Unit Test

Run npm test for unit testing. Overall code coverage is 88%

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published