http://youbc.marlonomz.com (For best experience, please use your mobile device or emulate mobile device in a browser)
Note: Please use Invitation Code: YOUBC
You.BC is a mobile web application that provides a simple solution for students at universities to exchange WeChat ID. With a simple swipe, students can easily match up with other students, who might be a study buddy, a roommate, or even a soul mate. Potential matching candidates are recommended by their major, interests, personalities and many other factors.
This is a personal project created by @Marlon Ou and @Yifan Yang.
- Single page application
- Restful API
- Interactive UX design
- More to come...
- Download latest binary maven from: https://maven.apache.org/download.cgi to appropriate directory
- Install maven by unzip and setting appropriate path by following this page: https://maven.apache.org/install.html
# Run in project root
# This will fully package web-app and backend service into a jar
# No additional installation required except Maven
mvn clean install
# Run application
java -jar you_bc-service/target/youbc-service-1.0.0.jar
# run this cmd in you_bc-service
mvn clean install
# run this cmd in you_bc-service
mvn install -PjooqCodeGen
# Frontend Dev:
yarn install
yarn start-dev
# Throught maven:
# run this cmd in you_bc-webapp
mvn clean install
-
Make sure you have mysql installed properly
-
Configure db, username and password in database.properties
-
create database and tables using scripts in you_bc-service/src/main/resources/schemas
-
If you are on mac, create my.cnf at /etc/mysql, and then add these:
[mysqld]
character-set-server=utf8mb4
[mysql]
default-character-set=utf8mb4
- In the chosen database, call:
SET NAMES utf8mb4;
- Make sure related variables are utf8mb4:
SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%';