Skip to content

sgoldber61/react_app_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react_app_tutorial

This is a boilerplate for Codesmith designed to combine a front end create-react-app with a back end express server.

Run npm install in the root project dir and run another npm install at the ./client folder. Notice that root folder and /client both have package.json files.

Run with npm run dev on the root folder. This simultaneously runs the express server with nodemon, and the create-react-app client.

Routing on the client is handled with react-router-dom. API calls to the back end can be done without having to prefix the server hostname by proxying (in the client package.json) the API calls to the express server.

The react app on the client is equipped with a redux store. One may handle async actions using redux-thunk middleware.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •