Coder Social home page Coder Social logo

sharebike's Introduction

shareBick

使用javaweb模仿共享单车做的小项目

使用的技术:java(后端)、mysql(数据库)、html+css+js(前端)、qrcode(二维码)、百度地图(地图和自行车位置的显示

实现思路是

1.用户

用户存在四个功能,分别是借车、还车、自行车报修、充值

由于是电脑操作,所以扫码是使用的上传二维码的方式

扫码之后则显示成功租借这辆单车,页面跳转到租车界面

因为没有单车实物,所以还车是在页面上进行操作的

点击还车则自行车归还,并将用户的地理位置记录在自行车表中

没用被租借的自行车则会显示在用户的地图之上

单车报修是用户进行扫码,单车报修次数则加一

如果单车报修次数超过三次则单车不会显示在用户的界面之上

2.工作人员

工作人员存在三个功能分别是增加自行车、显示损坏车和维修自行车

增加自行车则会添加一个二维码到文件夹中并以自行车的编号命名

显示损坏车则是只将报修次数超过三次的自行车显示在地图上

维修自行车是自行车维修好之后,工作人员进行扫码,则将该车数据库中的保修次数归0

项目演示:

用户登录界面

1

用户借车界面

2

用户还车界面

3

工作人员登录界面

4

工作人员操作界面

5

增加自行车之后的显示

6

增加的二维码

7

sharebike's People

Contributors

chunchunisme avatar

Watchers

James Cloos 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.