0% found this document useful (0 votes)
5 views

Back-End Assiment OSUMARE

Pratik Dhere, the Web Team Lead at Osumare Marketing Solutions, has assigned a backend development project to create a RESTful API using Node.js for managing tasks with CRUD operations. The API must be built with Express.js, include validation, error handling, and documentation, and be submitted via GitHub within two days. Optional features include pagination, sorting, filtering, and authentication mechanisms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Back-End Assiment OSUMARE

Pratik Dhere, the Web Team Lead at Osumare Marketing Solutions, has assigned a backend development project to create a RESTful API using Node.js for managing tasks with CRUD operations. The API must be built with Express.js, include validation, error handling, and documentation, and be submitted via GitHub within two days. Optional features include pagination, sorting, filtering, and authentication mechanisms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Subj ect: Backend Development Assignment

Dear [Backend Developer's Name],


I hope this message finds you well. I am Pratik Dhere, the W eb Team Lead at Osumare
Marketing Solutions. W e have an ambitious backend development proj ect that requires
your advanced expertise.
*Assignment: Build a Basic RESTful API*
*Description:*
You are tasked with building a simple RESTful API using Node.j s that manages a
collection of tasks (e.g., to- do items). The API should allow users to perform basic CRUD
(Create, Read, Update, Delete) operations on tasks. The data should be stored in memory
(no database required). Your API should support the following endpoints:
1.`GET /tasks`: Retrieve a list of all tasks.
2.`GET /tasks/:id`: Retrieve a specific task by ID.
3.`POST /tasks`: Create a new task.
4.`PUT /tasks/:id`: Update an existing task by ID.
5.`DELETE /tasks/:id`: Delete a task by ID.
*Requirements:*
1.Use Express.j s to build the API.
2.Implement basic validation to ensure that task properties are required (e.g., title,
description).
3.Store the tasks in memory (an array or obj ect).
4.Provide clear and concise API documentation, including sample requests and responses.
5.Use appropriate status codes (e.g., 200 for success, 404 for not found, 400 for bad
requests).
6.Test the API using tools like Postman or curl and include instructions for running the API
locally.
7.Add error handling to gracefully handle unexpected issues.
8.** AI copied codes will be not be accepted.
*Bonus Points (Optional):*
-Implement pagination for the `GET /tasks` endpoint.

Osumare Marketing Solutions Pvt. Ltd, Osumare Building, Survey No. 43, Pathare
Thube Nagar, Near Kharadi Bypass, Kharadi, Pune 14 www.osumare.com
-Add sorting and filtering options for task retrieval.
-Include authentication and authorization mechanisms for protecting certain endpoints

**Deadline:**
The deadline for this assignment is 2 Days
**Submission:**Please submit your completed proj ect, including the source code, API
documentation, and a report explaining your approach and algorithm choices.
Upload the assignment on GitHub and please share GitHub link on [email protected]
If you have any questions or need clarification on any aspect of this assignment, please feel
free to reach out to me at [email protected]
Mob no. - 9130316771
W e greatly appreciate your dedication to this challenging backend development proj ect.
Your expertise will be instrumental in enhancing our systems at Osumare Marketing
Solutions.
Regards,
Pratik Dhere
W eb Team Lead

Osumare Marketing
Solutions

Osumare Marketing Solutions Pvt. Ltd, Osumare Building, Survey No. 43, Pathare
Thube Nagar, Near Kharadi Bypass, Kharadi, Pune 14 www.osumare.com

You might also like