# MoiKiitos **Repository Path**: nickhan/MoiKiitos ## Basic Information - **Project Name**: MoiKiitos - **Description**: Springboot + vue - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MoiKiitos ## Overview It's a Weibo like microblog with only users and microposts. ## Demo ### Backend Backend provides Restful APIs, contains 2 groups: user and post #### User Apis ![user-apis](ref/snapshot/user-apis.png) #### Post Apis ![user-apis](ref/snapshot/post-apis.png) ### Front-end Front-end is a independent module which is organized with Vue, using Axios to interact with backend service. #### register page ![user-apis](ref/snapshot/front-register.png) #### login page ![user-apis](ref/snapshot/front-login.png) #### index page ![user-apis](ref/snapshot/front-index.png) #### user page ![user-apis](ref/snapshot/front-user.png) ## Tech ### Backend - Springboot - Springboot Data JPA - Lombok - Swagger - H2 - Mockito - Jacoco ### Front-end - Vue - Axios - Layui ## How to run ### Prepare - JDK1.8+ - Maven 3.5.3 ### Build ``` mvn clean package ``` ### Run ``` java -jar moikiitos-0.0.1-SNAPSHOT.jar ``` ### Access - Swagger: http://localhost:8080/swagger-ui.html - Login: http://localhost:8080 - Usable User: nick@test.com/12345678 ## UT Sample Unit test is executed with Mockito, and use jacoc to get the code coverage statistics. Below is just a sample. ![user-apis](ref/snapshot/ut-sample.png)