This project was developed for the HackAtHome hackathon.
This is a PaaS (Platform as a service) that enables:
- Local business
- to open a store front and add their products from the smartphone
- manage orders and plan deliveries
- Customers
- place orders to the stores
- receive their orders at home
The backend was written in nodejs.
Go to the folder backend, create a folder config and add a file named secrets.json with the following secrets
{
"google": {
"clientId": "",
"clientSecret": "",
"redirectUri": "[YOUR_URL]/auth/google/callback",
},
"mongodb": {
"uri": ""
},
"heremaps":{
"apikey": ""
}
}then open the terminal and execute this commands
yarn install
yarn startYou can then play with the APIs from this postman:
The frontend was written in flutter to provide a similar exprerience for both android and iOS, the code is located in the folder flutter/hackathome_frontend.
You can grab the builds from codemagic below or by running flutter run inside that folder
