Simple spring boot + mysql + angular application to demonstrate how to add/delete users.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The things you need to install the software and how to install them.
- Java 12+ download here
- Maven 3.5.0+
- MySLQ 8.0.16+
- GIT
- Prepare your MySQL DB instance by execution following commands (you need to connect to your MySQL instance first):
create database user_management;
create user 'admin'@'%' identified by 'admin';
grant all on user_management.* to 'admin'@'%';
- To get the project up and running first of all clone or pull the repository to your local machine and then navigate to the project in terminal and run the following commands:
mvn spring-boot:run
: It will build the whole project with the front-end part. The project will be running on default profile with mysql db.- alternatively, if you don't wanna install latest mysql db version, you can run the project with
dev
profile, so it means embedded h2 db will be used:mvn spring-boot:run -Dspring-boot.run.profiles=dev
. NOTE: in such case step 1 is optional.
- Navigate to http://localhost:8080
- Default email is
[email protected]
and password isadmin