Skip to content

Covfefeable/express-server-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-server-template

a nodejs server template using express

Usage

# if pnpm is not installed
npm i -g pnpm

# install dependencies
pnpm i

# launch the express server locally
pnpm dev

# send a request to know whether the server side is running properly
curl http://127.0.0.1:1337/api/alive

Deployment

# if pm2 is not installed
npm i -g pm2

# build the production version
pnpm build

# launch the express server
pm2 start ./build/app.js

About

a nodejs server template using express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published