Skip to content

exponentian/web-development-beginner-guide-react-redux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beginner's Guide to Web Development

Example: Local Library

Technologies: Node.js, React, Redux and MongoDB

Author: Ho Seok (Brandon) Oh

Preface

I am a sofrware developer, and I’ve been developing web applications with multiple frameworks. Recently, I learn Redux which is an open-source Javascript library for managing data state. It is widely used with React to develop Front-end web applications. I’ve decided to make this toy example from scratch to teach myself and to share cutting-edge technology with people who are eager to learn Node.js, React and Redux. Actually, I learn those web technologies from online resources while working on a project. To be honest, my code is not enough to cover all topics. It may help beginners to understand data mannagement or data flow which is super important in web development. I hope everyone enjoys my tutorial, and please focus more on data flow.

Objectives

  • Understanding of web development life cycle
  • Data model schema design for REST API
  • Web authetication and authorization methods
  • Communicating data between backend and frontend
  • Implimenting basic four CRUD operations
  • Differences between React only and React-Redux in terms of data flow

This tutorial consists of three parts:

Target audiences:

  • Beginners of web development
  • People who want to learn Node.js, React, Redux and MongoDB

Overview of Local Library

I've decided to start with a well-documented online resource, and this Express Tutorial: The Local Library website is good for understanding Express on Node.js and MongoDB with Mongoose. Please read through the Express Tutorial before start coding.

Features

Must be installed


Part Three: Frontend with React and Redux

Quick Overview

I highly recommend reading online resources below. Also, I start off this example with create-react-app supported by Facebook.

Resources:

Important keywords:

  • Dispatch, Action, Reducer, Store
  • PrivateRouter, PublicRouter
  • Authorization - Bearer Token

Packages installed

  • react-redux
  • react-router-dom
  • redux
  • redux-thunk
  • prop-types

To start

  1. Download or clone
$ git clone https://github.com/exponentian/web-development-beginner-guide-react-redux.git
  1. Install npm packages
$ npm install
  1. Add your REST API URL in ./src/config.js

  2. Start

$ npm start

Happy coding!

About

Part Three: Frontend with React and Redux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published