FoodDelivery FoodDelivery is open source ecommerce application for food delivering. Application consists of following parts:
- Store front - React based SPA with server side rendering
- Backoffice - React
- API Backend - Node.js, Express, MongoDb
Screenshots
Store
Admin
Live demo
- To view storefront, click here
- To view Backoffice, click here
Features
Storefront:
- Server-side rendering
- Responsive design
- Add to cart
- Delete from cart
- Checkout
- Session based on localStorage and tokens
Dashboard:
- Login
- Responsive design
- Orders lists based on status
- Change order status (Work in progress)
- View order (Work in progress)
- Products list
- View product (Work in progress)
- Add / edit product (Work in progress)
Dependencies
- React - ui
- Redux - state managment
- Redux-thunk - side effects
- Formidable - file uploads
- Jsonwebtoken - implementation of json web tokens
- Ant.Design - react ui library
- Formik - forms for react
- Yup - form validation
- Axios - http client
- React Router v4 - router
- Express - web framework
Setup
Prerequisites
- Install Node.js >= 10
- Install MongoDB
Seed database
- Go to 'backends/express'
- Install 'dependencies'
yarn install
- Seed database
yarn run seed
Start backend
- Go to 'backends/express'
- Install dependencies
yarn install
- Start backend
yarn run start
Start storefront
- Go to 'web/store/react'
- Install dependencies
yarn install
- Buld storefront
yarn run build:dev
- Start storefront
yarn run start
Start Backoffice
- Go to 'web/admin/react'
- Install dependencies
yarn install
- Start Backoffice
yarn run start
License
The MIT License (MIT)
Copyright (c) 2014-2019 Mikhail Strizhov
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Coded with ❤️ by MishaSt