Giter Site home page Giter Site logo

rssayed / post-office Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 5.05 MB

Tracks packages deliveries, shipping information, and keeps track of a database of customers in relation to what packages they are shipping out for customers and employees.

CSS 0.11% JavaScript 0.94% HTML 0.03% Python 98.62% PowerShell 0.28% Batchfile 0.02%

post-office's Introduction

SnailMail

Tech stack

ReactJS for the frontend Flask for the backend mysql for the database

How to install back end

Prerequisite: Python 3.5 or higher

  1. Install flask using pip with 'pip install Flask'
  2. Pip install the dependencies in app.py, inside of the backend folder.

Back end dependencies

Example: python3 -m pip module_name

  1. Flask==1.1.2
  2. Flask-Cors==3.0.10
  3. flask-mysql-connector==1.1.0
  4. Flask-MySQLdb==0.2.0
  5. mysqlclient==2.0.3
  6. numpy==1.20.2
  7. pandas==1.2.3
  8. protobuf==3.15.7
  9. python-dateutil==2.8.1
  10. pytz==2021.1
  11. six==1.15.0
  12. Werkzeug==1.0.1

How to run backend

  1. Run the backend use "python -m flask run" inside of the backend folder.
  2. You will need to be able to see app.py for this to work.
  3. The server should be connected to port 5000 on local host.

How to run front end

  1. Check node --version, Install node.js, Npx comes with it. https://nodejs.org/en/download/
  2. Run "npm install" to install all dependencies
  3. Enter "npm start" to run the app locally where you can see app.js

How to use website

Now that you have front and backend talking to each other along with the database you can use the website.

How to log in

  1. The website logs in through authenticating with the dbms.
  2. username = [email protected] password = krustyKrab the role Manager
  3. username = [email protected] password = mammalsrule the role is Worker
  4. username = [email protected] password = iamthebest the role is Customer

post-office's People

Contributors

rssayed avatar tsmhorns avatar rigby0105 avatar days0n avatar singhpalwinder avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.