Skip to content

the-project-b/backend-coding-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Coding Challenge: NestJS Backend with Employee Module and Email Service

Welcome to your coding challenge! πŸ‘‹

Your task is to set up a NestJS backend, focusing on building an employee management module with CRUD functionalities, integrated with an email service that operates through a queue system.

🎯 Assignment

Objective: Develop a NestJS backend application with an employee module for managing employee data and an email service triggered by a queue.

Key Features:

  1. Employee Module:

    • Create Employee Endpoint: Add new employees with basic details like name, job title, and department.
    • Read Employee Endpoint: Retrieve employee details using their ID and list all employees.
    • [optional] Update Employee Endpoint: Update an employee's job title and department.
    • [optional] Delete Employee Endpoint: Remove an employee from the system.
  2. Simple Email Service:

    • Integrate an email service that sends notifications (e.g., welcome email on employee creation).
    • Use a queue system (like Bull) to manage and trigger email notifications asynchronously.
  3. Basic Setup and Configurations:

    • Feel free to use a NestJS boilerplate for initial setup.
    • Set up basic validation for input data and error handling for the CRUD operations.
    • Implement a simple data storage solution (in-memory or a basic database setup).
    • We're using a GraphQL API using Apollo Server, but feel free to decide for yourself if you want to go for a REST or GraphQL based API.
  4. Documentation:

    • Provide comments and basic documentation for understanding the implemented features.

πŸ“‹ Deliverables:

πŸ—£οΈ Discussion Points for Review:

  • Design decisions and rationale behind them.
  • Challenges faced and how they were addressed.
  • Considerations for scaling and maintaining the application.

We're looking forward to seeing your approach to building this solution. Happy coding!

About

NestJS coding challenge for Project B.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •