This is a MVP project that deals with sending and closing dispatched parcels. It consists of the basic CRUD funtionality that allows teller/admin to dispatch parcels.
- Fork/Clone
- npm init
- npm install -g @angular/cli
$ ng serve
###Want to specify access as teller?
$ email: [email protected] $ password: password
###Want to specify access as admin?
http://localhost:4200/backend/login
$ email: [email protected] $ password: password
- Fork/Clone
- Activate a virtualenv
- Install the requirements
Create the databases in sqlite
:
$ sqlite
# create database database.sqlite
Create the tables and run the migrations:
$ from project.server import db
$ db.create_all()
$ python app.py
Access the application at the address http://localhost:5000/
Want to specify a different port?
$ python app.py -h 0.0.0.0 -p 8080
Without coverage:
$ python manage.py test
$ OR
$ python manage.py cov
With coverage:
$ python manage.py cov