Giter Club home page Giter Club logo

full-stack-with-angular-and-spring-boot's Introduction

full-stack-with-angular-and-spring-boot's People

Contributors

bsmahi avatar in28minutes 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

full-stack-with-angular-and-spring-boot's Issues

AuthenticationManager bean not found

Field authenticationManager in JwtAuthenticationRestController required a bean of type 'org.springframework.security.authentication.AuthenticationManager' that could not be found.

The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:

Consider defining a bean of type 'org.springframework.security.authentication.AuthenticationManager' in your configuration.
JwtAuthenticationRestController.txt
JWTWebSecurityConfig.txt

Different way to implement environment variables

cool. Here is my code for environment.ts, as a suggestion:

export const environment = {
production: false,
api: {
url: 'http://localhost:8585',
jpa: 'http://localhost:8585/jpa',
},
};
of course, the port for your setup will not stay 8585, so feel free to adapt it heavily ;-)

You basically use it in two places, basic-authentication.service and todo-data.service. In basic there is only one instance, in todo-data a couple, so I am just posting a few lines of todo-date as an example. In your version I sort of like that it uses all UPPERCASE because those are constants. This is not the way environment.ts is implemented, though, so you would have to live with lowercase:

import { environment } from 'src/environments/environment';

...

export class TodoDataService {
...
retrieveAllTodos(username) {
return this.http.get<Todo[]>(${environment.api.jpa}/users/${username}/todos);
...
}
...
}

realted to handle error

when we add customized RuntimeExcection("some error occurred ") .in browser's console they show error like DOCTYPE ..... something but in your video show implements like something what is that? help to solve this.

task

Fields Description Remark
A B C D E F G
Device type Device ID Type Multiple SIM Status S/N of Device IMEI/ESN/MEID Device Launch Date Device Status
IMEI(Mandatory) Y/N 1to16(Mandatory) 1to16(Mandatory) DDMMYYYY New/Used
ESN(Mandatory) (Mandatory)
MEID(Mandatory)
Handheld,
Mobile Phone/Feature phone,
Vehicle, Portable(include PDA),
Module,
Dongle,
WLAN Router,
Modem,
Smartphone,
Connected Computer,
Tablet,
e-Book (Mandatory)

S/N of Device
Device Serial Number
IMEI/ESN/MEID The IMEI / ESN / MEID actual value Mandatory
Device launch date Launch Date or Manufacture Date in the format DDMMYYYY Optional
Device Status New/Used New device is a device which is not activated before

Used devices are devices which are used before, but after required modification being sold in the market with different IMEI.

Error: Implementing Spring Security with Basic Authentication

Implemented step 75 and 76 from udemy video same as it show in the video and also compare with the code, still facing problem. I google but couldn't find the solution.

Getting below error:

GET http://localhost:8081/hello-world/path-variable/Ranga 401

Access to XMLHttpRequest at 'http://localhost:8081/hello-world/path-variable/Ranga' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Please help.

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.