First of all, congratulations on being shortlisted for this round of the assessment.
You are tasked to conduct a code review on a code repository submitted by a candidate applying for a software engineer role in TAP Software Team.
Provided this code repository, you are required to identify the following:
- Code design issues
- Code smells
- Any undesirable coding practices
- Any other issues you wish to highlight
The requirements for the candidate is shown in requirement.md
file.
You are required to explain your findings to the hiring committee and provide your final assessment whether this candidate will be shortlisted for the next round of interview.
Follow these instructions to get the service up and running locally on your computer:
- Clone this repo onto your computer.
- Setup MySQL and specify the host IP/URL and user credentials in
src/pool.js
. - Create a
testdb
database, and setup the schema and seed data withtestdb.sql
. - Run
npm install
in the root directory of this repo. - Run
npm test
. The tests should be all passing. - Run
npm run dev
to start the server in dev mode.