Skip to content

YanzheL/hemeijia

Repository files navigation




Language: English | 中文文档

Simple WeChat-miniprogram for online housekeeping services powered by Spring

The backend is based on my previous Spring site LLZW

This is a Spring demo site designated for beginners, which is also my course project of Software Engineering at HIT with my team.

Current project status:

Frontend: Developing. WeChat mini-program

Backend: Developing.

Status of Continuous Integration and Automatic Testing

Branch Status
master
dev

Prerequisites

  • JRE Runtime: 9 or later
  • MySQL: 8 or later, running on localhost:3306, otherwise you should modify related information in application-dev.yml

Getting Started

Three options

Backend service will listen on localhost:8981 by default

Use Prebuilt JAR Package

Follow the intructions on Release Page

Use Our Offical Docker Image

You should have docker environment installed before using this option.

Two options

  • Run a single backend service

    Pull our official image for api backend

    docker pull leeyanzhe/hemeijia-api-gate

    Run

    docker run -d -p "8981:8981" leeyanzhe/hemeijia-api-gate
  • Run with docker-compose

    Pull this git repository

    git clone https://github.com/YanzheL/hemeijia.git

    Enter the project directory and run

    cd hemeijia
    docker-compose up -d --build

From Source

To compile the source, you need a valid JDK environment with version 9 or later.

Clone this project

git clone https://github.com/YanzheL/hemeijia.git

Build the package

./mvnw package -DskipTests

Run

java "-Dspring.profiles.active=dev" -jar target/*.jar

You may also run the test version with in-memory database if you do not have an external database.

java "-Dspring.profiles.active=test" -jar target/*.jar

Features

  • RESTful API Backend

  • WeChat Mini-Program

  • Travis CI Continuous Integration and Automatic Testing

  • Docker Integration

    Every commit to master and dev branch will trigger automatic builds on DockerHub, which produces Our Latest Docker Image

    latest image tag targets for dev branch

    stable image tag targets for master branch

Documentation

Contributors

Hemeijia Front

Located in miniprogram/ directory

Xinye Wanyan

Zhijie Zhang

Hemeijia Backend and Misc.

Located in api-gate/ directory together with other misc files.

Me

License

Apache License 2.0

About

Simple WeChat-miniprogram for online housekeeping services powered by Spring Backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published