Git Product home page Git Product logo

milktea-mooc's Introduction

Milk Tea Mooc

Build Status GitHub code size in bytes LindoWu Project-MilkTeaMooc

What Is It?

This is the back-end service of an online learning website named Milk Tea.

The full techniques are SpringBoot 2.3 + Spring 5 + MyBatis 3 + MySQL + JWT + Guava Cache + JMeter.

Features

  • Base on Java with high portability.
  • Use Json Web Token to support Login Module.
  • Enable Guava Cache to provide high speed access.
  • Pass JMeter Load Test with High Performance.

    More about Milk Tea Mooc Load Test
    Load Test Summary

    No Cache MyBatis Second Level Cache Guava Cache
    6304.24
    Transactions/s
    14545.10
    Transactions/s
    15479.08
    Transactions/s

API Document

Check the ./ApiDoc directory for the API Document.

If you want to view the website version of API Document, please unzip the ./ApiDoc/MilkTeaMoocApiDoc.zip and open the index.html file.

Requirements

The following requirements are required in your machine for running Milk Tea Mooc Service:

  • Java: JDK 14+

    JDK 8+ is ok, but you have to modify some codes because we use JDK 14 Lambda Syntax.

  • Maven: 3.0.0+
  • MySQL: 5.6+
  • JMeter (Optional): 5.3+

    Install it if you want to run the Load Test.

How To Run and Test

  1. Use Maven to Install it

     mvn install
  2. Import the database into your MySQL Server and modify the properties file under src/main/resources/application.properties.

  3. Enter the target directory and Start the Application

    You may redirect the application to use your application properties by adding -Dspring.config.location command.

     cd target
     java -jar [-Dspring.config.location=./application.properties] milkteamooc-0.0.1-SNAPSHOT.jar
  4. Test the APIs by curl tool

    The default port is 8900.

     curl 127.0.0.1:8900/api/v1/pub/video/list_banner

TODO

More features, like the support of Redis, Docker and so on, can be added into Milk Tea Mooc.

Author

Lindo Wu

Thanks

Thanks for coming! I'll be super thankful if you can star my project.

milktea-mooc's People

Contributors

hellolindo avatar

Stargazers

 avatar  avatar  avatar Shirley avatar  avatar DEANYE avatar Wu zi tao avatar LeemanCheung avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

tanbinh123

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.