Skip to content

chowdhuriarijit/coding-assignment-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telia Node.js Coding Assignment

Overview

This repository contains a coding assignment that requires you to complete an application skeleton using Node.js. The assignment focuses on event-driven programming, utilizing Node.js's native EventEmitter API along with WebSocket communication through Socket.IO. You can use Node.JS docs, StackOverflow and other relevant documentation. Refrain from using LLMs to generate code. It is hard to assess your competense, if your code is generated by an LLM.

Technologies

  • Node.js (Native EventEmitter API)
  • Socket.IO and Socket.IO-Client for real-time communication
  • Jest for test-driven development

Prerequisites

Before you begin, ensure you have the following installed:

  • Git - For cloning and version control
  • Node.js and npm - For running the application and installing dependencies
  • Code Editor - Any modern IDE or text editor of your choice

Getting Started

Installation

Clone the repository and install the required dependencies:

# Install all dependencies
npm install

Development Instructions

  1. Review the codebase and locate all comments marked with // TODO
  2. Implement the required functionality according to the specifications in these comments
  3. Follow best practices for Node.js development and event-driven architecture
  4. Ensure your code maintains the existing structure while fulfilling all requirements

Testing

The application includes Jest test suites to verify your implementation:

Terminal 1:

# Start websocket server
npm start
# If you need to use a specific port, you can run:
# PORT=8888 npm start

Terminal 2:

# Run all tests
npm test
# If you need to use a specific port, you can run:
# PORT=8888 npm test

Evaluation Criteria

Your submission will be considered successful when:

  • All tests pass successfully
  • All // TODO items are properly implemented
  • The application functions as specified in the requirements

Submission

After completing the assignment, follow the submission instructions provided separately by the Telia recruitment team.


This coding assignment is property of Telia Company.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published