Git Product home page Git Product logo

freshfoodstore-frontend's Introduction

生鲜商店

[DEMO] [Docker Hub] [后端]

这是一个在线购物系统的后端部分,以生鲜作为主题,支持

  • 买家购物
  • 卖家库存管理
  • 卖家进货
  • 采买基地供货
  • 资金系统

如何安装

npm

首先运行 npm i 安装所需依赖,之后如果需要运行开发使用的服务器运行

npm start

或者如果想要生成发布的文件运行

npm run build

Docker

本项目还支持通过 Docker 构建。如下是 docker-compose.yml 示例

version: '3'   
services:
  frontend:    
    image: zinglix/freshfoodstore-fe:latest   
    container_name: freshfoodstore-fe  
    restart: always    
    ports:      # 映射端口
      - 80:80
    volumes:
      - ./data/img:/usr/share/nginx/html/img

之后运行 docker-compose up -d 就会运行于 80 端口上。如果你需要将前后端同时使用 Docker 构建,看这里

freshfoodstore-frontend's People

Contributors

zinglix avatar

Stargazers

 avatar

Watchers

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