Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
MERN stack complete: full stack apps from scratch
Rating: 4.6 out of 5(158 ratings)
696 students

MERN stack complete: full stack apps from scratch

Learn MongoDB, Express, React and Node by building and deploying a complete app with user accounts, front to back
Created byJoost Bijlsma
Last updated 1/2021
English

What you'll learn

  • Creating complete apps with the MERN stack
  • React for dynamic websites
  • NodeJS for Javascript servers
  • ExpressJS for Javascript Web APIs
  • MongoDB for Javascript based databases
  • SASS for advanced CSS styling
  • User account authentication
  • Protecting user passwords with Bcrypt
  • Storing login sessions with JSON WebTokens
  • Deploying MERN apps to Heroku and Netlify

Course content

8 sections60 lectures9h 49m total length
  • Course resources0:07
  • Server project setup7:18

    Set up a two-project MERN starter by organizing client and server folders and installing express and mongoose. Initialize a git repository and add a .gitignore to exclude node_modules.

  • Express setup16:43

    Set up a basic express server with an index file and mongoose import. Create a test endpoint using get that returns hello world.

  • Sending data to the server12:01

    Define and test rest endpoints for snippets using express, parse json bodies with middleware, and prepare a mongoose model to store title, description, and code.

  • Creating the Snippet database model6:54

    Create a snippet model with mongoose by defining a schema (title, description, code), require at least description or code, enable timestamps, and export the model for MongoDB use.

  • Creating a MongoDB database and saving our first snippet13:07

    Set up a MongoDB database, create a free cluster, configure a database user, whitelist your IP, and connect with Mongoose to save your first snippet.

  • Validating new snippets14:11

    Validate new snippets by requiring at least a description or code and returning a 400 if missing, with optional title, and implement async saving and CRUD operations.

  • Creating, Reading, Updating and Deleting snippets. (CRUD)18:47

    Learn to build a full CRUD backend for snippets using the MERN stack: create, read, update, and delete endpoints with express and mongoose, including validation and error handling.

  • Securing the connection string in an environment variable8:04

    Move the connection string to an environment variable using a .env file and dotenv, read it with process.env, and ignore the .env file in git.

Requirements

  • Basic Javascript / CSS / HTML
  • Basics of Git
  • Basics of NodeJS / NPM

Description

Welcome to "MERN stack complete". This course will introduce you to the easiest way to build complete web applications using just the fundamental languages of the web: JavaScript, HTML and CSS. We will build a complete web app using the JavaScript frameworks of the MERN Stack: MongoDB, ExpressJS, React and NodeJS. This course will teach you all the important basics of web applications including: User accounts, security, cookies, advanced styling with SASS and deployment.


At the end of this course, you will have learned the following skills: 


✅ Running a server with ExpressJS

✅ Handling HTTP requests to your Express server

✅ Validating data in HTTP requests

✅ Setting up a database with MongoDB

✅ Applying CRUD (Create, Read, Update and Delete) operations on the database

✅ Building a dynamic frontend user interface for an app with React

✅ Displaying data from the database with React

✅ Styling the web app with SASS (an extension to CSS)

✅ Implementing user accounts with secured passwords, login sessions and cookies

✅ Development environment security

✅ Basic DevOps: setting up a development and production environment

✅ Deploying a Node server to Heroku

✅ Deploying a React frontend to Netlify


Enjoy!

Who this course is for:

  • Web developers who want to learn the basics of Full Stack development
  • Javascript programmers who want to learn React
  • Javascript programmers who want to learn NodeJS and ExpressJS for server development
  • Javascript programmers who want to learn MongoDB as a database