Giter Site home page Giter Site logo

badger-bytes-ordermanagement-system's Introduction

Badger-Bytes-OrderManagement-System

Project Structure

├── LICENSE
├── README.md
├── __init__.py
├── core
│   ├── __init__.py
│   ├── models
│   │   └── __init__.py
│   └── utils
│       └── __init__.py
├── main.py
├── requirements.txt
├── static
│   ├── css
│   ├── html
│   └── js
├── templates
│   └── index.html
└── tests
    └── __init__.py

Core:

  • This will contain core implementations of the application
  • Models: DB structure for each accounts
  • Utils: Functionalities implementation

Static:

  • HTML, JS and CSS static files directory

Templates:

  • Jinja templates for UI

Dev Setup

  • Install Virtualenv
sudo pip3 install virtualenv
  • Create virtualenv folder
python3 -m venv en

Activate Virtualenv

source env/bin/activate

Install requirements

pip3 install -r requirements.txt

Deactivate Virtualenv

deactivate

Run Server

python run.py

Seeing All Data

from server import db, app
from models import User
from werkzeug.security import generate_password_hash, check_password_hash

app.app_context().push()
staff = User(name='Peter', role='staff', email='[email protected]', password=generate_password_hash('p'))
admin = User(name='Ash', role='admin', email='[email protected]', password=generate_password_hash('a'))

db.session.add(staff)
db.session.add(admin)
db.session.commit()
User.query.all()

badger-bytes-ordermanagement-system's People

Contributors

akshatgit avatar apeksha1999 avatar arshadmhabib avatar yyt86 avatar

Watchers

 avatar  avatar

badger-bytes-ordermanagement-system's Issues

Improve UI, Add customer features

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Explore chat functionality

Is your feature request related to a problem? Please describe.
Chat implementation for the app.

Describe the solution you'd like
Use flask socketIO to create a WebSocket server and use JS on the client-side to access it.

Admin features

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Profile update

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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.