This is a simple inventory management system built with Django. It allows users to add, update, and delete products from the inventory. It also allows users to upload multiple files to the server.
""" This code is part of a locally run Django project.
To run the project locally, follow these steps:
- Install Python and Django on your machine.
- Clone the project repository from GitHub.
- Create a virtual environment and activate it.
- Install the project dependencies using pip.
- Set up the database by running migrations.
- Start the development server using the 'manage.py' script.
Note: Make sure to update the settings file with the necessary configurations for your local environment. """
- Login and registration system
- Add, update, and delete products(stock management, price, and quantity)
- View product details
- Product search
- Product Categories
- Image download
- Upload multiple files
- Email Sending
- RESTful API for product management
- File upload API
- Docker support
- Python
- Django
- SQLite/PostgreSQL/MySQL
- HTML
- CSS
- JavaScript
- Docker
- Django Rest Framework
-
Clone the repository:
git clone https://github.com/iamfoysal/complete-django-inventory
-
Navigate to the project directory:
cd complete-django-inventory
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the project dependencies:
pip install -r requirements.txt
-
Run the migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Open the following URL in your browser:
http://localhost:8000
-
After clone the repository, navigate to the project directory:
cd complete-django-inventory
-
Run the following command to build the docker image:
docker-compose build
-
Run the following command to start the docker container:
docker-compose up
-
Open the following URL in your browser:
http://localhost:8000
- ๐ด Fork the project.
- ๐จ Create your feature branch (
git checkout -b my-new-feature
). - ๐ป Make your changes.
- โ
Ensure the tests pass and the code is linted (
black . && pytest
). - ๐ Write or update tests for the changes that you made.
- ๐ Write a good commit message.
- ๐ Push to the branch (
git push origin my-new-feature
). - ๐ Create a new Pull Request.
Thank you for your contributions!