SE 4200: Web Application Development II
Assignment: Express + MongoDB
Requirements
Web Service
Create a RESTful HTTP web service using JavaScript, the Express framework, and MongoDB.
Define a simple resource for your application with several attributes.
Using Express, implement the following endpoints by defining a route for each with a request handler function:
Retrieve resource collection which returns data in JSON format.
Create resource member which accepts data in URL-encoded or JSON format.
Use MongoDB and the Mongoose ODM to persist and read resource records:
Define a Mongoose model and schema for your resource.
Use the appropriate model methods to save and read documents to and from MongoDB.
Conform to proper HTTP and REST standards across the application.
Documentation
The following items should be clearly but concisely documented in the
README.mdwithin your Git repository:The name of your resource, and the name of each of its attributes.
All REST endpoints implemented by your web service. For each, include a description and the HTTP method & path.
Use Markdown to structure and style the content within your
README.md.
Resources
Submission
- Submit your project using Git and GitHub. Start by creating a repo for this assignment here.
- Show your completed assignment to the instructor during class or office hours to receive credit.
Last Updated 01/12/2026

