Coder Social home page Coder Social logo

wissensalt / springboot-angular-registration Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 15.0 585 KB

Simple Registration and Login Using SpringBoot and Angular

Java 61.11% JavaScript 2.01% TypeScript 28.75% HTML 7.87% CSS 0.25%
springboot2 angular7 unit-testing karma-jasmine postgresql springsecurity

springboot-angular-registration's Introduction

springboot-angular-registration

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.

Technologies !

WEB :

  • Angular 7 CLI
  • Bootstrap
  • Karma
  • Jasmine

API :

  • Spring Web
  • Spring Security
  • JPA
  • PostgreSQL
  • Spring Test

Steps to run the project

  • Create DB and Restore file schema.sql
  • Run Backend spring-angular-registration and make sure there is no Error
  • Run Frontend web-angular-registration

How To Build And Run : spring-angular-registration (backend)

  • 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

How To Build And Run : web-angular-registration (frontend)

  • 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

sar-1.png sar-2.png sar-3.png sar-4.png sar-5.png sar-6.png

How To Run Unit Testing : web-angular-registration (frontend)

  • Run :
    $ ng test

sar-test-1.png sar-test-2.png

How To Run Unit Testing : spring-angular-registration (backend)

  • Run :
    $ mvn clean package

sar-test-3.png

*Username for Login is Email and Password is FirstName

springboot-angular-registration's People

Contributors

wissensalt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.