Home / Companies / MongoDB / Blog / Post Details
Content Deep Dive

Building an Exercise Tracker: MERN Tutorial

Blog post from MongoDB

Post Details
Company
Date Published
Author
-
Word Count
5,494
Language
English
Hacker News Points
-
Summary

The tutorial "Exercise Tracker: MERN" provides a comprehensive guide to building a single-page application using the MERN stack, which includes MongoDB, Express, React, and Node.js. It walks through setting up a cloud-hosted MongoDB using MongoDB Atlas and Google Cloud Platform, though the instructions are adaptable to other services like AWS or Azure. The document explains the transition from relational databases to MongoDB's document model and outlines the creation of a back-end server using Node.js and Express, with a front-end developed in React. The tutorial also covers setting up a RESTful API with endpoints for CRUD operations on exercises and users, and integrates the front and back ends using Axios for HTTP requests. Additionally, it guides through the creation of React components and the use of libraries like Bootstrap and DatePicker to enhance the user interface, culminating in a fully functional exercise tracker application.