Initially before beginning to create our first Spring boot application let me give you an introduction to Spring boot.
Spring boot is an open-source framework based on Java used to create a microservice ( It is an architecture that allows developers to develop and deploy services independently ). Spring boot is used to build stand-alone and production-ready Spring applications that you can run so easily. Spring boot is built on top of the Spring framework and it makes setting up, configuring, and running both simple and web-based applications easier and quicker. …
Before we begin to create the API let’s make sure we understand few terms.
API stands for Application Programming Interface. It is a set of programming code that allows data transmission between multiple applications. Simply API is the messenger that takes the requests and tells the system what you want to do and then returns the response to you.
If you need to know further details about API, please read my article on API
REST stands for Representational State Transfer. It is a software architectural style followed when designing APIs. It proposes a set of rules web developers should follow…
API stands for Application Programming Interface. It is a set of programming code that allows data transmission between multiple applications. For example, when you use an application the application can send data to the server, the server then retrieves the data, interprets it, performs the necessary operation and send it back to the client which is the application. The application then interprets the data and present it in a readable format to the client. All of this process happens via API. …
Koa.js is an open-source, minimal, and flexible Node.js web framework developed by the creators of Express.js. They term Koa.js as the next level Node.js framework. Koa.js official website mentions koa.js as a smaller, more expressive, and more robust foundation for web applications and APIs. Koa eliminates callbacks and significantly improves error management by using async functions. Koa’s core doesn’t have any middleware, but it does include an elegant collection of methods for writing servers quickly and easily.
The key feature of Koa.js is the use of ES6 generators which means a program written using Koa.js will have fewer callbacks while…
There’s a high chance you might have come across the word “REST” if you’ve thought of getting data from another source. But what is REST? What can it do for you?
In this blog, you will learn everything about REST.
REST stands for Representational State Transfer. It is a software architectural style followed when designing APIs. It proposes a set of rules web developers should follow when building APIs. REST was discovered by Roy Fielding and was presented first in 2000 in his famous dissertation. JSON or XML is used to pass the data. REST is lightweight, scalable and maintainable.
Before we see what is asynchronous code let’s make sure we understand what is synchronous code.
What is synchronous code?
This blog gives a brief introduction to MongoDB and contains step by step instructions to install MongoDB and implement the basic CRUD operations on a database
Initially, before discussing about MongoDB lets see what is MongoDB?
MongoDB is a NoSQL document database which means it stores data in JSON like documents. It has a powerful query language.
How to install MongoDB?
Step 1: Go to www.mongodb.com
S.O.L.I.D is an acronym for 5 Object Oriented principles introduced by
Robert C. Martin. They are a set of rules and best practices that should be followed when designing software in order to make the software design more understandable, flexible and maintainable
The 5 principles are :
i. Single Responsibility
iii. Liskov Substitution
iv. Interface Segregation
v. Dependency Inversion
Single Responsibility Principle
“A class should have only one job and should have one and only one reason to change”
This principle states that a class should have only one responsibility and therefore it should have only one reason…
3rd year Software Engineering Undergraduate