The source code of the 'Guess Who I Am' Wechat miniprogram, you can scan to experience the miniprogram
- Frontend development using
TypeScript
withwebpack
for building and bundling - Backend development using
Java
andSpring
framework withGradle
for building and packaging
To run the project, you need to first clone the source code and navigate to the project's root directory.
git clone git@github.com:jinganix/guess.git
cd guess
-
Modify the application-local.yml file to configure the backend service of the project
-
core.weapp.app-id: The
app-id
of the WeChat mini-program -
core.weapp.app-secret: The
app-secret
of the WeChat mini-program
If you have docker
and docker-compose
installed, you can start the backend service using the following command:
./gradlew build
docker-compose up --build
You need to install JDK with the corresponding version specified in .tool-versions and start a MySQL database.
Modify the application-local.yml file to configure the backend services of the project.
- core.weapp.app-id: The
app-id
of the WeChat mini-program - core.weapp.app-secret: The
app-secret
of the WeChat mini-program - core.url.db-mysql: The connection URL of the MySQL database, e.g.,
jdbc:mysql://127.0.0.1:3306/guess
- spring.datasource.username: The database username
- spring.datasource.password: The database password
The following command can be used to start the backend services on a Linux or macOS system:
./gradlew service:guess:bootRun
The following command can be used to start the backend services on a Windows system:
./gradlew.bat service:guess:bootRun
You need to install node.js with the version specified in .tool-versions.
git clone git@github.com:jinganix/guess.git
cd guess/frontend/weapp
npm install
npm start
If you are interested in reporting/fixing issues and contributing directly to the code base, please see CONTRIBUTING.md for more information on what we're looking for and how to get started.