This is a Node.js + Express + Sequelize + MySQL API to manage candidates.
-
Clone the repo:
git clone https://github.com/nayasafwan/onspec_task.git cd onspec_task -
Install Dependencies
npm install
-
Configure Database Update config/config.json with your MySQL database credentials:
-
Run the server
npm run start
-
Run test cases
npm run test
docker-compose up --buildPOST /candidatePATCH /candidate/:id