The Tech Demystify: MERN-Stack Application Development
In this episode of the #TheTechDemystify, we hosted Isaac Oteng who works as an Oracle EPM Consultant and also doubles as a Software Developer at Rhema Systems and Associate. His session emphasizes a practical introduction to MERN-stack application development.
Overview of MERN Stack
MERN stack heavily relies on JavaScript-based technologies to develop end to end full-stack web application; the backend, frontend, and database interaction. It consists of four technologies namely: MongoDB, Express, React, and Node.js. And each of these technology performs the following functions:
- MongoDB: No-SQL database, it is used to store application data.
- ExpressJS: A node.js framework used to build the backend of a site.
- ReactJS: A frontend library to build UI components that create the user interface of the single page web application.
- Node.js: JavaScript runtime environment used to run JavaScript application on.
Overview of Project
The project will allow users to CRUD(create, read, update, and delete) operations on a resource, in our case a developer.
Tools needed for this project
- Text editor/Integrated Development Environment(IDE): a tool to write the code. Here Visual Studio Code will be used but you can use an
- Postman: The frontend might not be ready when developing the backend service usually called the Application Programming Interface(API) of our application. Postman helps in testing those backend services.
- React: The UI & frontend of the application will be created using the react library.
- Axios: We’ll use Axios, a lightweight promise-based component to make async and await request to the backend API.
- Materialize CSS: A CSS library will be used to style the front end of the application.
- Others could be a web browser for testing the frontend after integration with backend
Starting the Project
The project will be of two parts; frontend and a backend, our API. We’ll start by creating the backend using Node.js, Express, and MongoDB. Starting a new node.js project could be summarized as
- Creating the project
- adding dependencies:
- Creating a server
- Starting a server
- Creating APIs for various resources available in the backend service
- Creating the frontend UI with React JS & Materialize CSS
- Connecting backend services to frontend
Detailed Resources:
For many details on how to work on the project, kindly follow the videos. And also a link to the GitHub repository has been provided to access the code.
Videos from the talk
- First Video: https://facebook.com/niisign/videos/10163831711285438/
- Second Video: https://facebook.com/niisign/videos/10163869462450438
- Third Video: https://facebook.com/groups/DevCAccra/permalink/3987486157992724/
Project GitHub Repo
https://github.com/developercirclesaccra/MERN-STACK-APP
#TheTechDemystify is in every Sunday at 7 pm on Facebook Group, make sure to tune in and enjoy every reverting conversation as well as tutorial sessions to help you grow in tech.