Skip to content

ardarm/simple-nodejs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Application setup steps

This simple nodejs app starts on port 3000 and logs some info on startup.

to prepare the app for startup, installing all the dependencies
npm install
to start the application
npm start or node app/server.js
to build the image from Dockerfile
docker build -t nodejs-app:1.0 .
to start the built docker image
docker run nodejs-app:1.0
to build an archive file
npm pack

About

Build Simple NodeJS App for Exercise Purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published