[PR #418] react-express-mongodb: backend and frontend refactors #439

Open
opened 2025-11-06 14:26:16 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/418
Author: @Wizard-Rogue
Created: 2/21/2024
Status: 🔄 Open

Base: masterHead: react-express-mongodb-modernized-updated


📝 Commits (5)

  • d8170dc extracted backend methods into their own controller
  • 927b146 added .vscode to gitignore
  • bcb0658 removed unused bcrypt and lodash packages in backend
  • da7f38c removed axios in favor of fetch and updated frontend packages
  • 06051db refactored frontend to functional components

📊 Changes

11 files changed (+15356 additions, -8517 deletions)

View changed files

📝 react-express-mongodb/.gitignore (+1 -0)
react-express-mongodb/backend/controllers/todos/todoController.js (+27 -0)
📝 react-express-mongodb/backend/package-lock.json (+2485 -1174)
📝 react-express-mongodb/backend/package.json (+10 -12)
📝 react-express-mongodb/backend/routes/index.js (+3 -26)
📝 react-express-mongodb/frontend/package-lock.json (+12716 -7187)
📝 react-express-mongodb/frontend/package.json (+3 -4)
📝 react-express-mongodb/frontend/src/App.js (+34 -42)
📝 react-express-mongodb/frontend/src/components/AddTodo.js (+45 -26)
📝 react-express-mongodb/frontend/src/components/TodoList.js (+28 -46)
📝 react-express-mongodb/frontend/src/custom.scss (+4 -0)

📄 Description

  • Updated packages and removed bcrypt, lodash, and axios
  • Refactored backend and extracted API methods into their own controller
  • Converted frontend implementation to use Functional Components, and useState and useEffect hooks
  • Removed axios in favor of native fetch

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/docker/awesome-compose/pull/418 **Author:** [@Wizard-Rogue](https://github.com/Wizard-Rogue) **Created:** 2/21/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `react-express-mongodb-modernized-updated` --- ### 📝 Commits (5) - [`d8170dc`](https://github.com/docker/awesome-compose/commit/d8170dcd7b64bf60987ef96f5bb608e2ff0d38c7) extracted backend methods into their own controller - [`927b146`](https://github.com/docker/awesome-compose/commit/927b146d42aa6c69195ebccab853681a7de1ccad) added .vscode to gitignore - [`bcb0658`](https://github.com/docker/awesome-compose/commit/bcb065863126f3801bf0038f907dcbb31ef8f679) removed unused bcrypt and lodash packages in backend - [`da7f38c`](https://github.com/docker/awesome-compose/commit/da7f38c3e898b46c0b3ad803f73e6db838b6be6f) removed axios in favor of fetch and updated frontend packages - [`06051db`](https://github.com/docker/awesome-compose/commit/06051db7b9b5b8cb0d5dc8a661640f0b721ecfee) refactored frontend to functional components ### 📊 Changes **11 files changed** (+15356 additions, -8517 deletions) <details> <summary>View changed files</summary> 📝 `react-express-mongodb/.gitignore` (+1 -0) ➕ `react-express-mongodb/backend/controllers/todos/todoController.js` (+27 -0) 📝 `react-express-mongodb/backend/package-lock.json` (+2485 -1174) 📝 `react-express-mongodb/backend/package.json` (+10 -12) 📝 `react-express-mongodb/backend/routes/index.js` (+3 -26) 📝 `react-express-mongodb/frontend/package-lock.json` (+12716 -7187) 📝 `react-express-mongodb/frontend/package.json` (+3 -4) 📝 `react-express-mongodb/frontend/src/App.js` (+34 -42) 📝 `react-express-mongodb/frontend/src/components/AddTodo.js` (+45 -26) 📝 `react-express-mongodb/frontend/src/components/TodoList.js` (+28 -46) 📝 `react-express-mongodb/frontend/src/custom.scss` (+4 -0) </details> ### 📄 Description - Updated packages and removed `bcrypt`, `lodash`, and `axios` - Refactored backend and extracted API methods into their own controller - Converted frontend implementation to use Functional Components, and `useState` and `useEffect` hooks - Removed `axios` in favor of native `fetch` --- <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 2025-11-06 14:26:16 -06: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#439