The WeSpark Backend is a Node.js and Express.js RESTful API that serves as the data and business logic layer for the WeSpark platform. It receives, validates, and persists feedback and opportunity data submitted by clients (mobile and web), and exposes endpoints for data retrieval and analysis. The backend is designed for scalability, maintainability, and easy integration with both local and cloud-based storage solutions.
backend/
├── src/
│ └── server.js # Main Express server
├── feedback.json # Local data store (example)
├── package.json # Project metadata and dependencies
└── README.md # This file
cd backend
npm install
npm start
The API will be available at http://192.168.0.152:3000 by default.
Note: The following are example endpoints. Please refer to the source code for the latest details.
GET /feedback
— Retrieve all feedback entriesPOST /feedback
— Submit new feedback (JSON body required)GET /health
— Health check endpoint3000
. You can override by setting the PORT
environment variable.feedback.json
in the project root.src/server.js
.test/
directory (not included by default).Contributions are welcome! Please open an issue or submit a pull request for improvements or bug fixes. For major changes, open an issue to discuss your proposal first.
This project is licensed under the terms of the MIT License.
For questions or support, please open an issue in the main repository.