This repository contains the backend assignment for the Worko.ai Backend Internship program. The project involves creating a Node.js API to help job seekers request referrals and other services.
- Assess candidate code writing for backend services skills.
- Evaluate candidate self-learning skills and managing delivery skills.
Worko.ai is building a product to help job seekers request referrals from multiple companies they are interested in. They can use any job description URL to request a referral. At the same time, candidates have options for requests for services like resume review, interview handholding, career guidance, and mock interviews.
-
Create a Node.js project with MVC architecture:
- Create controller layer
- Create service layer
- Create DAO layer
- Create models for CRUD operations
- Create DTO for request and response
- Add validator framework
-
Create API:
- Create API for resource
/worko/userGET- List usersGET /worko/user/:userId- Get user detailsPOST- Create userPUT- Update userPATCH- Update userDELETE- Soft delete user in DB
- Create API for resource
-
Required Payload for User:
Id(Generated)EmailNameAgeCityZip code
-
Validate following fields on API call:
EmailZip codeId(in case of POST/PUT/DELETE)
-
Persist User Information in Database:
- Choose DB of your choice (NoSQL is preferred)
- Read DB config from environment variable