Coder Social home page Coder Social logo

codethereforam / rent Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 1.0 1.11 MB

基于Spring + SpringMVC + Mybatis简单开发的租赁系统,使用restful风格

License: Apache License 2.0

Java 79.25% HTML 20.75%
ssm ssm-framework java rent restful spring springmvc mybatis mybatis-generator swagger2

rent's Introduction

rent

项目介绍

基于Spring + SpringMVC + Mybatis简单开发的租赁系统,该项目使用restful风格,前后端分离

业务逻辑

  • 登录
  • 普通用户
    • 开始租用
      • 查看可租物品列表
      • 申请租用
    • 我的租用
      • 查看可租用物品
      • 取消申请租用
  • 管理员
    • 类别管理(CRUD)
    • 物品管理(CRUD)
    • 租用管理
      • 查看租用清单
      • 审核租用(批准/否定)
      • 归还

组织结构

├── rent-common -- ssm框架公共模块
├── rent-dao -- 代码生成模块,无需开发
├── rent-service -- 服务的接口及实现
├── rent-web -- 网站前台
├── project-datamodel -- 项目数据库相关文件
└── project-docs -- 项目文档

技术选型

后端技术

  • Spring Framework
  • SpringMVC
  • MyBatis
  • MyBatis Generator
  • Apache Shiro
  • Velocity
  • Swagger2
  • Log4J2
  • Maven

前端技术

  • Bootstrap
  • AngularJS
  • jQuery

模块依赖

rent-web -> rent-service -> rent-dao -> rent-common

编程规约

后台参照阿里巴巴Java开发手册

项目运行

  1. 下载项目并构建: git clone xxx; mvn clean install

  2. 新建数据库: project-datamodel/favorisites.sql

  3. 修改数据库配置文件: rent-service/src/main/resources/jdbc-config.properties

  4. mvn jetty run

  5. 打开页面: http://localhost:6688/login.html & http://localhost:6688/swagger-ui.html

项目预览

数据模型

数据模型图

界面

start-rent my-rent category stuff rent

restful api

restful

许可证

Apache-2.0

rent's People

Contributors

codethereforam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gx321

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.