A Simple Registration and Login Page using SpringBoot and Angular. This repository contains two project spring-angular-registration for backend and web-angular-registration for the frontend.
WEB :
- Angular 7 CLI
- Bootstrap
- Karma
- Jasmine
API :
- Spring Web
- Spring Security
- JPA
- PostgreSQL
- Spring Test
- Create DB and Restore file schema.sql
- Run Backend spring-angular-registration and make sure there is no Error
- Run Frontend web-angular-registration
- Open file : spring-angular-registration/src/main/resources/application.yml
- Suppose you are running on local environment, change property spring.profiles.active : into local
- Open file spring-angular-registration/src/main/resources/application-local.yml
- Change property log.file.path : depend on your local storage
- Change property db.name, db.host, db.port, db.username, db.password depend on your local configuration
- Compile :
$ mvn clean package
- or directly Run :
$ mvn spring-boot:run
- Install dependencies :
$ npm install
- If everything installed properly , run :
$ ng serve
- Open browser and go to http://localhost:4200
- port 4200 is default, you can change with command --port to change the port
- Run :
$ ng test
- Run :
$ mvn clean package