Skip to content

seun-beta/Bakery-API

Repository files navigation

Bakery Inventory Management System

Table of Contents

About

An Inventory and Process Management tool for a bakery.

Project Structure

├── apps
│   ├── bakeryadmin
│   │   ├── migrations
│   │   ├── __init__.py
│   │   ├── admin.py
│   │   ├── apps.py
│   │   ├── models.py
│   │   ├── tests.py
│   │   └── views.py
│   ├── commons
│   │   ├── migrations
│   │   ├── __init__.py
│   │   ├── admin.py
│   │   ├── apps.py
│   │   ├── models.py
│   │   ├── tests.py
│   │   └── views.py
│   ├── inventory
│   │   ├── migrations
│   │   ├── __init__.py
│   │   ├── admin.py
│   │   ├── apps.py
│   │   ├── dependencies
│   │   │   └── constants.py
│   │   ├── models.py
│   │   ├── tests.py
│   │   └── views.py
│   ├── users
│   │   ├── migrations
│   │   ├── __init__.py
│   │   ├── admin.py
│   │   ├── apps.py
│   │   ├── dependencies
│   │   │   └── constants.py
│   │   ├── forms.py
│   │   ├── managers.py
│   │   ├── models.py
│   │   ├── serializers.py
│   │   ├── tasks.py
│   │   ├── tests.py
│   │   ├── urls.py
│   │   └── views.py
│   └── utility
├── core
│   ├── __init__.py
│   ├── asgi.py
│   ├── celery.py
│   ├── settings
│   │   ├── base.py
│   │   ├── development.py
│   │   └── production.py
│   ├── urls.py
│   └── wsgi.py
├── manage.py
├── requirements
│   ├── base.txt
│   ├── development.txt
│   └── production.txt
├── .env
├── .env.example
├── .gitignore
├── .pre-commit-config.yaml
├── setup.cfg
└── README.md

Prerequisites

  • Python 3.10
  • PostgreSQL 14
  • Redis

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  • Run git clone https://github.com/seun-beta/Bakery-API to clone the project locally.
  • Create a local postgres database locally and add it's url to the DATBASE_URL env variable.
  • Run pip install -r requirements/development.txt
  • Run migration with python manage.py migrate.

Now, make sure to have 3 extra terminals/command prompts for the following commands:

  1. To run the redis server: redis-server
  2. Start the app with python manage.py runserver
  3. To run celery: python -m celery -A core worker
  4. To run flower: celery -A core flower

Author

This software was created by Seunfunmi Adegoke, a Backend & Cloud Engineer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published