SportsMate (UML Diagram)
A Java Maven Project of a sports media application with a focus on basketball.
For lots of basketball players or amateurs who need related resources of basketball to play, SportsMate is a basketball social app that provides gym reserving, team system, and match functions that provide a chance to know people online and play basketball at real basketball courts. Unlike other basketball social apps or basketball equipment sales apps, our product provides the chance to let basketball lovers talk in the real world.
1. Install MySQL
2. Log into MySQL as the root user: (See Handy MySQL Tips Below)
3. Create a new database user: CREATE USER 'demo'@'localhost' IDENTIFIED BY 'demo';
4. Grant access to new database user: GRANT ALL ON sportsmate.* TO 'demo'@'localhost';
5. List privileges granted to new database user: SHOW GRANTS FOR 'demo'@'localhost';
4. Log out of MySQL by typing: \q
- In MySQL, by default, the username is root and there is no password
(just hit enter when asked)
- Under MAMP / MAMP Pro, by default, the username is root and the password is root
- Log into MySQl as the root user with default password: mysql -h localhost -u root -p
- Log into MySQl as the root user using MAMP / MAMP Pro: mysql -h localhost -u root -proot
- Drop new user created above: DROP USER 'demo'@'localhost';
1. git clone https://github.com/vpasq/sportsmate.git
2. cd sportsmate
3. mvn clean compile
4. mvn exec:java -Dexec.mainClass=sportsmate.MainApp
1.0.0