Giter Club home page Giter Club logo

seckill-7's Introduction

seckill

用SpringBoot实现的秒杀案例

  • Mybatis
  • Mysql
  • redis

数据库连接池使用hikari

优点:快速配置、运行简单快速

更新日志

  • 更新springboot2.0
  • 更新相关依赖
  • 引入lombok
  • 优化代码

Why SpringBoot

使用springBoot能快速搭建项目,约定优于配置,省去了大量配置xml的工作。

项目环境

  • JDK 1.8

  • 项目使用Idea搭建

  • 操作系统苹果macOS

项目效果图

  • 秒杀商品列表 效果图

  • 商品详情页1 效果图

  • 商品详情页2 效果图

Getting Started

  1. git clone https://github.com/awlsx/seckill.git

  2. idea打开项目 打开src/main/resources/application.yml

  3. 第一次运行时,先把sql文件夹下的sql文件放到resources文件夹下,然后配置 spring.datasource.initialize=ture 来让程序初始化数据库

  4. 配置mysql登录用户名和密码

  5. Run!

seckill-7's People

Contributors

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