1. npm install
2. npm start
3. Import Postman Collections
Note:- I have used .env file for storing database URL instead of directly using the username and password in server.js, to test out this code on your local, you'll have to configure your mongodb database url before you can use the code.
The goal is to create a simple web application with an admin user, who would be able to create interview slots
Interview creation
Admin can create interview by selecting participants, start time, end time
i.) Backend will throw an error if participants are not available.
ii.) Backend will also through error if there are less than 2 participants{ 1 candidate, 1 or more interviewers)
List interviews
i.) List page where admin should be able to see upcoming interviews
ii.) Should also be able to edit the interviews.
Edit interviews
i.) Backend will throw an error if participants are not available.
ii.) Check if the new fields passed for the interview are valid and available(startime, endtime, interviewer availability)
ii.) Backend will also through error if there are less than 2 participants{ 1 candidate, 1 or more interviewers)
Future Scope:-
Send emails to participants after scheduling the interview An option to upload resume Web Page is a single page application