Eat is a web app for groceries delivery.
This is Back-End repository of this app. If you would like see Front-end, click here.
Live version available here.
To run this app locally follow this steps:
- Clone the repository
git clone https://github.com/Cloudyaa/EatAppBack.git
- Install dependencies
npm i
- Edit database config file:
- uncomment everything
- add your configuration
- change file name to
config.ts
This is example:
// config/config.ts
export const config = {
dbHost: "localhost",
dbUser: "user",
dbPassword: "password",
dbDatabase: "database",
corsOrigin: "http://localhost:3000",
stripeSecret: "",
PAYPAL_CLIENT_ID: "",
PAYPAL_CLIENT_SECRET: ""
};
- Run application
npm run start
Please note that you will be running only server Back-End version of this app. To run this app in full version, start Front-End app as well. You can find instruction for that on Front-End repository.
Incoming improvements and updates:
- admin dashboard to manage products and orders,
- possibility to add delivery address on user record,
- show delivery address on checkout view,
- sending message through contact form (now it doesn't send it anywhere)
If you would like to see more of what is coming, here is my Trello board with all To-dos left.