This repository contains the web server API for the Factory Management Web Application. It is built using the MERN stack (MongoDB, Express.js, React.js, Node.js) and provides various endpoints to handle stock management, client management, worker management, expense management, order management, invoice generation, and bill management.
- Clone the repository:
git clone https://github.com/BENNAI-Lyes/FactoryProManager_backend
- Navigate to the project directory:
cd FactoryProManager_backend
- Install dependencies:
npm install
- Set up environment variables: Rename
.env.example
to.env
and provide necessary values. - Start the server:
npm start
Note: Make sure you have Node.js and MongoDB installed on your system.
- The server API is accessible at:
http://localhost:8000
- The client makes requests to this API for data retrieval and manipulation.
Contributions are welcome! If you find any issues or have suggestions for improvements, please create an issue or submit a pull request.
This project is licensed under the MIT License.
For any inquiries or questions, please contact BENNAI Lyes.