Coder Social home page Coder Social logo

feyroozecode / stock_management_api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hamabarhamou/stock_management_api

1.0 0.0 0.0 12.78 MB

Webstack - Portfolio Project

Shell 0.07% JavaScript 38.42% Python 22.02% CSS 28.30% HTML 11.18% Procfile 0.01%

stock_management_api's Introduction

Stock Management API

This application is an API-based inventory management system created with Django and Django REST Framework. Stock Management API is an inventory management system built using Django and Django REST Framework. This API provides a
comprehensive set of endpoints for managing stocks, products, and orders. It was created as a collaborative project by the team
members (Issaka Hama Barhamou, Djogona Mahamat Belna, Mellanie Achieng Oduori, and Rodrigue Mbiaha) as a final project for the
ALX-Holberton School program. With this API, users can easily manage their inventory, track stock levels, and analyze sales data,
among other functions.

Installation

Clone the git repository in a local directory on your machine:

git clone [email protected]:HamaBarhamou/stock_management_api.git
cd stock_management_api

Create a virtual environment for the project and activate it:

python3 -m venv venv
source venv/bin/activate

Install the project dependencies:

pip install -r requirements.txt

Create the database using the following command:

python manage.py migrate

(Optional) To populate the database with initial data, you can run the provided data.py script:

python manage.py runscript scripts.data.py -v2

Create a user

python manage.py createsuperuser

Usage

To start the development server, run the following command:

python manage.py runserver
curl -H 'Accept: application/json; indent=4' -u your_username:your_password url

Go to
http://127.0.0.1:8000
http://127.0.0.1:8000/admin/ administration page

API Documentation:

http://127.0.0.1:8000/api/schema/redoc/ with redoc
http://127.0.0.1:8000/api/schema/swagger-ui/ with swagger

stock_management_api's People

Contributors

hamabarhamou avatar

Stargazers

Ibrahim Ahmad (feyroozecode) avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.