Giter Club home page Giter Club logo

design's Introduction

这是毕业设计的源码。

spring

  • spring-web
  • spring-data
  • spring-session
  • mybatis

service

  • zookeeper
  • kafka

data source

  • redis
  • mysql

Architecture

REST API

hostname: localhost:3000

User Api

get api/user 获取所有用户

get api/user/{userId} 获取用户id为userId的用户

post api/user 添加用户

put api/user 更新用户

delete api/user 删除用户

Cooking Api

get api/cooking 获取所有菜谱

get api/cooking?offset=??&limit=?? 获取从offset开始的limit数量的菜谱

get api/cooking/{cookingId} 获取id为cookingId 的菜谱

get api/cooking/{cookingId}/show 获取id为cookingId 的菜谱的所有作品

get api/cooking/{cookingId}/show/{showId} 获取id为cookingId的菜谱的id为showId 的作品

post api/cooking/{cookingId}/show 向id 为cookingId 的菜谱添加作品

其他类似

auth api post auth 登录

delete auth 注销登录

register api post register 注册

upload file api

get file/{filename} 下载图片 post file 上传文件 post file?type=avatar 上传用户头像 post file?type=cooking 上传菜谱图片 post file?type=show 上传作品图片 ... ...

图片静态资源地址。 /static/img/avatar/{userId} 用户头像 /static/img/cooking/{id} 菜谱图片 ... ...

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.