|Learn Spring with React and MongoDB|
|Written by Nikos Vaggalis|
|Friday, 14 April 2023|
In this FreecodeCamp course, you will learn how to create a full stack application using MongoDB for the database, Java and Spring Boot for the back end and React for the front end.
After covering Dan Vega's 2023 Spring Boot Tutorial for Beginners course, this is yet another Spring based one.
With Spring you can build almost anything that is Java based, from lone projects to enterprise grade applications,
So when adopting the Spring framework and Spring Boot, the rest of the available choices fall in the categories of the Front end and the underlying DBMS. Spring is versatile, as such you can make your pick from a vast array of technologies such as React, Angular, Vue, Thymleaf, htmx, Vaadin for the UI that is and Postgres, Mysql, Oracle and so on for the backend. This course is on React with MongoDb.
The course is split in two sections, in which Farhan Hasin Chaudry teaches the back end section of this course while
Along with the front and back ends you'll also learn how to set up a project with Spring Initializr , setup a JDK, use the IntelliJ IDE and Postman for the interaction with the remote API. And an account at MongoDB Atlas DaaS, which will allow you to spin up MongoDB servers on the cloud.
You'll then need to populate your new database with test data. These are IMDB movies and come as a JSON file which will be then loaded in the database as distinct documents, since MongoDB is a Nosql Document database.
The rest of the time spent on the course will be allocated in building the RESTful API. In detail the Backend portion involves:
As fa as the front end goes, this will not be a deep dive into React. The goal here is to demonstrate how we can interface with a remote API from a front end application created using React through which we are able to retrieve data from a MongoDB database hosted on a remote server, as well as posting data to our MongoDB database.
And that's a wrap! In under 3 hours you've learned many new and shiny career-worthy technologies. And for free, thanks to FreecodeCamp!
or email your comment to: firstname.lastname@example.org
|Last Updated ( Friday, 14 April 2023 )|