Live demo with front-end integrated: click here
Here are some accounts you may want to try.
You can try to register a new account and play with it
email: [email protected]
password: [email protected]_password
email: seimc1228
password: seimc1228_password
API documentation: Powered by Postman
Backend Service Url: https://server.alicialuo.com
Please see the above API doc about how to send requests to the backend server
Web Framework: Spring Boot
Security Framework: Apache Shiro
Persistence: MyBatis
Dependency Management: Maven
- Please download the Enterprise Version of IDE Eclipse
- Install
Maven
library in case your IDE does not have it - Set up the
Tomcat
server toApache Tomcat v9.0
- Load the
spring
folder to Eclipse
- The default port is
8080
which means you can access the web service throughlocalhost:8080
- To change the service host, add
spring.port=xxxx
in the fileapplication.properties
- Get a MySQL database
- Import the sql file
createTable.sql
to create all the schemas - Setup the databse connection in
resources/application-dev.properties
- Get an enterprise version of google email account
- Configure the email connection in
resources/application.properties
- Enable the
Allow less secure applications
toggle in your google account and allow STMP in your gmail setting
- Run
maven clean
on the whole folder to remove any previous compiling - Run
maven build
on the whole folder withTomcat
to compile the program after changes - Run file
Application.java
to start the web service
- No need to install any dependencies as
maven
will automatically install for you - You may also run
maven install
to replacemaven clean
andmaven build
.maven install
will also run unittest automatically