Git Product home page Git Product logo

spring-boot-angular4-authentication's Introduction

spring-boot & angular4 authentication application

  • This project is a simple secured authentication of an Angular4 frontend application with a simple Spring Boot backend API with Spring Security.

what you will learn

  • build a rest api using spring boot
  • secure your rest api using spring security
  • build a stateless authentication
  • build a simple front end application using angular 4

What's inside

  • spring boot
  • angular 4

demo

  • user login

capture 2png

  • create a new account

capture 2png

  • user profile

capture3

spring-boot-angular4-authentication's People

Contributors

angular-cli avatar kamalber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spring-boot-angular4-authentication's Issues

Unable to LogOut

whenever we click in LogOut in profile.

It did'nt clear run LogOut method and redirects to login view.

Problem with running the project

Hi

I have imported both front-end and back-end as two separate projects in Eclipse. For front-end, I downloaded all the dependencies using npm and GUI shows up at localhost:4200 but back-end code is not running as spring boot application on tomcat server. On accessing localhost:8080, I am getting page not found error. I tried triggering Login request from front-end, but in browser network also, I am getting 404 error returned. Somewhere, in the request I saw source URL as evil.com. Not able to understand what is broken with the code.
And I am using oracle database instead of mysql.
Any help is highly appreciated as I am new to this full-stack development using spring-boot, angularjs, hibernate, oracle. (Attached error log generated on running the application).

Modified application.properties file
`welcome.message: Hello World
spring.datasource.driver-class-oracle.jdbc.driver.OracleDriver
spring.datasource.url = jdbc:oracle:thin:@localhost:1521:csidbXDB
spring.datasource.username = csi_admin
spring.datasource.password = csi_admin

spring.jpa.show-sql = true
spring.jpa.hibernate.ddl-auto = update
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.Oracle11gDialect
`
debugfile.txt

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.