- Spring Boot Testing
When it comes to testing, you must follow Test Driven Development principles which have great practices to keep your code and logic clean. One important thing to remember about testing, You must not include logic in your tests. Rules of Test Driven Development Don’t write production code without a…
- AWS – Secrets Manager
This service has been a blessing for me in terms of hiding credentials from being exposed to hackers. This is what Secrets Manager does from the official site. “AWS Secrets Manager helps you protect secrets needed to access your applications, services, and IT resources. The service enables you to…
- React with Bootstrap
Install Bootstrap npm install –save bootstrap Include bootstrap.css in the index.js import ‘bootstrap/dist/css/bootstrap.css’;
- React Keys
React keys are useful when working with dynamically created components or when your lists are altered by the users. Setting the key value will keep your components uniquely identified after the change. import React from ‘react’; class App extends React.Component { constructor() { super();…
- React Route
Install router npm install –save react-router-dom yarn add react-router-dom In the index.js import { BrowserRouter as Router, Route } from “react-router-dom”; ReactDOM.render( <Providerstore={createStore(allReducers, applyMiddleware(thunk))}> <React.StrictMode> <Router>…