https://github.com/govtechsg/tapreviewassessment
https://github.com/govtechsg/tapreviewassessment
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/govtechsg/tapreviewassessment
- Owner: GovTechSG
- Created: 2019-11-15T03:22:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T10:13:52.000Z (over 6 years ago)
- Last Synced: 2025-01-03T03:13:01.747Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Instruction
First of all, congratulations on being shortlisted for this round of the assessment.
# Scenario
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:
1. Code design issues
1. Code smells
1. Any undesirable coding practices
1. Any other issues you wish to highlight
The requirements for the candidate is shown in [`requirement.md`](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.
# Running the test
Follow these instructions to get the service up and running locally on your computer:
1. Clone this repo onto your computer.
1. Setup MySQL and specify the host IP/URL and user credentials in `src/pool.js`.
1. Create a `testdb` database, and setup the schema and seed data with `testdb.sql`.
1. Run `npm install` in the root directory of this repo.
1. Run `npm test`. The tests should be all passing.
1. Run `npm run dev` to start the server in dev mode.