ruiofshens / first-mern-project

First attempt at web development using a MERN Stack Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

First MERN Project

Introduction

  • Concurrently, looked through relevant additional documentation to learn more
  • Added comments for reference on interesting learning points, code examples

Key Learning Points

  • Allowed me to get a initial introduction to making a fully-functional website
  • MERN Stack: MongoDB, Express, React, Node
  • Additional JS frameworks/libraries: Redux, Material-UI
  • Additional middleware/modules: cors, dotenv

Process for implementing a Key Functionality (e.g. CRUD Features)

Backend:

  1. Create a new route (in server/route)
  2. Create the respective handler for the route (in server/controllers)

Frontend:

  1. Create the API function (in client/src/api)
  2. Create the action creator (in client/src/actions)
  3. Update reducer with new action (in client/src/reducers)
  4. Dispatch action in the relevant components (e.g. onClick in client/src/components/Form)

About

First attempt at web development using a MERN Stack Tutorial


Languages

Language:JavaScript 91.8%Language:HTML 7.9%Language:Shell 0.2%