Giter Site home page Giter Site logo

bingyanfinal's Introduction

2019 Bingyan Summer Camp最终项目

本项目是冰岩2019夏令营程序组最终验收项目,建立一个网上商城平台。

API文档

程序额外实现了:缩略图和系统消息(商品删除消息)。

缩略图接口:

{
    "data": [
    	{
    		"id": 8,
    		"title": "example2",
    		"price": 18,
    		"category": 2,
    		"picture": "http://127.0.0.1:8080/upload/c3344781a8a0e3488e88c721ee98fb3a1563962614.jpg",
    		"thumbnail": "http://127.0.0.1:8080/upload/thumbnail_c3344781a8a0e3488e88c721ee98fb3a1563962614.jpg"
		}
    ]
}

系统消息接口:

GET("/messages")

主项目部分

实现

  • go version go1.12.6 windows/amd64
  • WAMPSERVER 3.1.7 64 bit (5.7.24 MySQL Community Server (GPL))

第三方库

项目实现所需第三方库

环境

  • 系统:Windows10
  • 框架:Gin
  • 数据库:Mysql
  • IDE:Goland
  • 测试工具:Postman

说明事项

  • 图片采用本地存储
  • 搜索实现不支持分词
  • 不区分买家和卖家
  • 不支持商品购买、显示商品数量等
  • 路由添加于view层
  • 图片名称由上传图片名散列值+时间戳组成。可以使用图片名最后10位代替商品发售的时间戳。

Docker

使用Docker-Compose

  • 主程序开放端口:9990
  • 数据库开放端口:52013# bingyanFinal

bingyanfinal's People

Contributors

tctco avatar

Stargazers

Jizheng Lee 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.