[PR #802] Add Express + MongoDB Notes API Docker Compose example #24370

Open
opened 2026-08-31 14:02:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/802
Author: @Kshashi22
Created: 8/6/2026
Status: 🔄 Open

Base: master ← Head: master


📝 Commits (1)

📊 Changes

7 files changed (+211 additions, -113 deletions)

View changed files

➕ Dockerfile (+13 -0)
➕ Note.js (+11 -0)
📝 README.md (+71 -113)
➕ compose.yaml (+25 -0)
➕ notes.js (+50 -0)
➕ package.json (+13 -0)
➕ server.js (+28 -0)

📄 Description

Description

This pull request adds a new Docker Compose example demonstrating how to build and run an Express.js REST API backed by MongoDB.

Features

  • Express.js REST API
  • MongoDB database
  • Mongoose ODM
  • Docker Compose configuration
  • Dockerfile for the backend service
  • CRUD operations for notes
  • Example README with deployment instructions

API Endpoints

  • GET /
  • GET /notes
  • POST /notes
  • GET /notes/:id
  • PUT /notes/:id
  • DELETE /notes/:id

Testing

Run:

docker compose up -d

---

<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
## 📋 Pull Request Information **Original PR:** https://github.com/docker/awesome-compose/pull/802 **Author:** [@Kshashi22](https://github.com/Kshashi22) **Created:** 8/6/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`37d14df`](https://github.com/docker/awesome-compose/commit/37d14df4612bff7bc139ce22624af56271173421) Add files via upload ### 📊 Changes **7 files changed** (+211 additions, -113 deletions) <details> <summary>View changed files</summary> ➕ `Dockerfile` (+13 -0) ➕ `Note.js` (+11 -0) 📝 `README.md` (+71 -113) ➕ `compose.yaml` (+25 -0) ➕ `notes.js` (+50 -0) ➕ `package.json` (+13 -0) ➕ `server.js` (+28 -0) </details> ### 📄 Description ## Description This pull request adds a new Docker Compose example demonstrating how to build and run an Express.js REST API backed by MongoDB. ### Features - Express.js REST API - MongoDB database - Mongoose ODM - Docker Compose configuration - Dockerfile for the backend service - CRUD operations for notes - Example README with deployment instructions ### API Endpoints - GET / - GET /notes - POST /notes - GET /notes/:id - PUT /notes/:id - DELETE /notes/:id ### Testing Run: ```bash docker compose up -d --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-08-31 14:02:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#24370