5 Observations on Spring Boot’s Loading Precedence for Properties Files With Spring Cloud Config | by KBryan | Jun, 2022

Sharing my experience on the order of precedence for properties files in Spring Boot applications when using Spring Cloud Config and Spring Profiles Photo by Brett Jordan on Unsplash Do you externalize and centralize your configurations using Spring Cloud Config Server? Do you use Spring Profiles to manage your configurations for different deployment environments? Do … Read more

Angular 12 Module Federation, host app loadRemoteModule error Cannot read properties of null (reading ‘bindingStartIndex’)

I am working on Angular 12 with webpack federation I created a micro header app and trying to load the header component into another app using loadRemoteModule. I have been playing with the webpack.config.js to figure how to get the header to load on the host app but been unsuccessful. I am getting this error … Read more

javascript – ERROR HttpErrorResponse { headers: HttpHeaders, status: 500 Cannot read properties of undefined (reading ’email’)

backend> routes>user.js const express = require(“express”); const bcrypt = require(“bcrypt”); const jwt = require(“jsonwebtoken”) const User = require(“../model/user”); // const user = require(“../models/user”); const router = express.Router(); router.post(“/signup”, (req, res, next) => { bcrypt.hash(req.body.password, 10) .then(hash => { const user = new User({ email:req.body.email, password: hash }) user.save() .then(result => { res.status(201).json({ message:’User created!’, result: … Read more