View new API here https://github.com/yassataiseer/DlvrMe-API
View new Flutter frontend here https://github.com/yassataiseer/DlvrMe-Mobile
DlvrMe is a project made by Yassa Taiseer that is used to make delivering packages with a city easier
- Users signup/login
- They can then post an order worldwide and another user can drop it off somewhere else
- Basically uber eats but anyone can deliver and make money
- To see a demo of this project just download
video.mp4
- Flask(backend)
- Google Maps Api
- VanillaJs(frontend)
- Html&CSS(frontend)
- MySQL(Backend)
DlvrMe requires the Google Maps Api download here It also requires python 3 Install the dependencies and devDependencies and start the server.
pip3 install requirements.txt
python3 flask_app.py
pip install requirements.txt
python flask_app.py
Before running you will need to setup environment variables in a file called .env This will have all of your database and Api credentials
touch .env
In this file write the following:
HOST | "YOU_DATA_BASE_HOST" |
USER | "MYSQL_USERNAME" |
PASSWORD | "YOUR_PASSWORD" |
DATABASE | "DATA_BASE_NAME" |
API_KEY | "YOUR-GOOGLE-API-KEY" |
DlvrMe runs on a MySQL databases There is a need for two tables Users and Deliveries
The user's table will look like this:
VALUE | TYPE |
---|---|
Username | VARCHAR |
Password | VARCHAR |
ID_key | AUTO_INCREMENT_KEY |
VALUE | TYPE |
---|---|
Username | VARCHAR |
Address | VARCHAR |
Latitude | FLOAT |
Longitude | FLOAT |
Item | VARCHAR |
Price | FLOAT |
User_info | VARCHAR |
ID_key | AUTO_INCREMENT_KEY |
You can also run database_setup.sql
in Mysql this is much easier but may now work on MacOs/Linux