Coder Social home page Coder Social logo

foodsmine's Introduction

项目简介

技术栈

基于 react-router-dom axios createContext react-toastify react-hook-form leaflet & react-leaflet express nodemon cors jsonwebtoken dotenv bcryptjs express-async-handler等开发一款PC端「在线食品订单」 Web项目,UI 界面参考了doordash。

预览地址

界面和功能展示

登录页面

商品页面

购物车

结算页面

支付页面

订单详情

设置界面

TO-DO-LIST

  • Users page
  • 管理员 Edit user
  • Email Recepit

技术栈

前端

  • React:用于构建用户界面的 MVVM 框架
  • axios: 发送网络请求,请求拦截和响应拦截
  • react-router:为单页面应用提供的路由系统
  • react-conText: 提供用户权限,加载页面
  • jwt: 实现登录注册功能

web vital

后端

  • Node.js:利用 Express 搭建的本地测试服务器

  • env: 隐藏配置信息,防止泄露

  • bcryptjs: 加密token

  • paypal api:

构建项目

本地

  • 克隆代码到本地之后
  • 分别在前后端启动项目
  • 配置.env信息

backend:

`npm install`安装依赖

`npm run dev`

frontend:

`npm install`安装依赖

`npm start`

服务器

npm run build

npm start

配置信息

TEXT_ACCOUNT = "[email protected]"
TEXT_PASSWWORD = "Qq6Y4nY^"


MONGO_URI = ""
JWT_SECRET =  "" //自己设定16-40
CLOUDINARY_CLOUD_NAME= ""
CLOUDINARY_API_KEY = ""
CLOUDINARY_API_SECRET= ""


foodsmine's People

Contributors

mongorolls avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.