/EatAppBack

Vegetables and fruit delivery web app - back-end

Primary LanguageTypeScript

Eat.

React Redux Emotion MaterialUI Vite TypeScript Express.js MySQL Jest

About

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

Try this app

To run this app locally follow this steps:

  1. Clone the repository
git clone https://github.com/Cloudyaa/EatAppBack.git
  1. Install dependencies
npm i
  1. 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: ""
 };
  1. 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.

Future

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.