Front-end:
- angular-cli boilerplate files
- JWT authentication service
What's news
- HttpClient
- Login page
- Roles Permissions
- Navigation Menu
- Material Design
- Crud
- Data Table
Back-end:
- Gradle build file
- Boilerplate files
- JWT authentication
First of all you need to configure the database. Properties are located in ./backend/src/main/resources/application.yml
file.
- Go to fronted folder and Run
npm install
to install front-end dependencies. - Go to fronted folder and Run
npm run build:prod rontend
to build angular application. (Optional) - Go to backend folder and Run
gradle build
to build a spring boot application. - Go to backend folder and Run
gradle bootRun
orjava -jar backend/build/libs/app-name-[version].jar
to start spring boot application on embedded server. - import data.sql data to the database. backend_service database will auto create if not exists after backend app started.
By default server will be running on port
5000
. By default application is using MariaDB database(name:user
, user:admin
, password:test
).
npm start --prefix frontend
to start front-end server for development.npm run start:prod --prefix frontend
to start front-end server with service-workers.gradle bootRun -p backend
to start spring boot application on embedded server.
By default server will be running on port
4200
npm test --prefix frontend
- to run front-end unit tests.npm run e2e --prefix frontend
- to run end to end tests.gradle test -p backend
- to run server tests.
- spring-boot 2.1.8
- spring-mvc
- spring-data-jpa
- spring-security
- jjwt 0.9.1
- lombok
- junit 4
- gradle
- mariadb
- h2
- angular-cli 8.3.4
- angular 8.2.5
- rxjs 6.4.0
- jasmine
- karma
- protractor
- angular material 8
- ngx-permissions 7.1.3
- ngx-custom-validators 8.0.0
- Author: @saka7
- Contributor: @raymondcoplin
- Contributor: @ershad1
spring-boot2-angular8-material8-boilerplate is released under the MIT License.