Skip to content

A very basic server side react rendering app to quickly start new projects with. Uses Express, EJS, React, Webpack, PM2.

Notifications You must be signed in to change notification settings

rickyH/basic-server-side-react-rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-server-side-react


Dev Setup

Get your gear:

npm install or yarn install

Run dev:

npm run dev or yarn dev

Prod

Build front-end:

npm run build:prod or yarn build:prod

Run Prod:

npm run prod or yarn prod

Terminate the application

PM2 will try and restart the application if it goes down to terminate the application:

npm run stop or yarn stop

Monitor

We use PM2 for monitoring, run the following command to see how the application is running:

pm2 monit

Viewing the logs

PM2 adds logs to the following directory:

/home/user/.pm2/logs/

About

A very basic server side react rendering app to quickly start new projects with. Uses Express, EJS, React, Webpack, PM2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages