A full-stack inventory management system built with Flask and MongoDB.
- RESTful API backend using Flask
- Frontend interface for inventory management
- User authentication and authorization
- MongoDB database integration
- API testing suite
.
├── app.py # Main Flask application
├── test_api.py # API test suite
├── backend/ # Backend logic and routes
├── frontend/ # Frontend assets and templates
├── requirements.txt # Python dependencies
└── users.json # User configuration
- Python 3.x
- MongoDB
- Virtual environment (recommended)
- Flask 3.0.3 - Web framework
- PyMongo 4.6.3 - MongoDB driver
- python-dotenv 1.0.1 - Environment variable management
- requests 2.31.0 - HTTP library
- beautifulsoup4 4.12.2 - Web scraping library
- Clone the repository:
git clone https://github.com/Presktok/Inventory_management.git
cd Inventory_management- Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
Create a
.envfile with your configuration:
MONGODB_URI=your_mongodb_uri
SECRET_KEY=your_secret_key
- Start the Flask server:
python app.py- Access the application at
http://localhost:5000
Run the test suite:
python test_api.py- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Your Name - @Presktok
Project Link: https://github.com/Presktok/Inventory_management




