Skip to content
/ web-template Public template

Opinionated template for building modern and scalable web projects.

Notifications You must be signed in to change notification settings

enijar/web-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Template

Opinionated template for building modern and scalable web projects.

Install

npx degit enijar/web-template project-name
cd project-name

Getting Started

Set up ENV_VARS:

cp client/.env.example client/.env
cp server/.env.example server/.env

Start app in development mode:

nvm use # uses supported Node version for this project
npm install
npm start

Production Build

Set up ENV_VARS:

cp client/.env.example client/.env
cp server/.env.example server/.env

Build app in production mode:

nvm use # uses supported Node version for this project
npm install
npm run build

Run app in production:

# Install PM2 globally to manage the server process
npm add -g pm2
pm2 start --name app server/build/index.js

About

Opinionated template for building modern and scalable web projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published