Skip to content

jack-kitto/node-react-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published