Skip to content

A development structure for creating a Node and React app.

License

Notifications You must be signed in to change notification settings

anthonyrivas/Node-React-Startup-Structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-React-Startup-Structure

A file structure for developing a Node and React app.

The Client Folder contains a basic create-react-app starter file.

The Server Folder contains a basic MVC folder structure for creating an api using Node and Express.

Commands that can be run from this root folder:

npm install - Installs all packages specified in the package.json file for both the client and server.

npm run start - checks if the environment variable 'NODE_ENV' is set to production, and runs either the development version or the production version of the project accordingly.

npm run start:dev - Runs the development version of the project.

npm run start:prod - Runs the production version of the project.

npm run build - Runs build in the client folder.

npm run client - Runs the client side code.

npm run server - Runs the server side code.

About

A development structure for creating a Node and React app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •