Skip to content

puybr/nodejs-express-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ NodeJS Express Server Boilerplate

Install NodeJS

choco install nodejs-lts
node -v

Init NodeJS

npm init -y

Authenticate with Docker

aws ecr get-login-password --region eu-west-2 | docker login --username AWS --password-stdin <id>.dkr.ecr.eu-west-2.amazonaws.com

Build the Image

docker build --tag nodejs-express .

Push the Image to ECR

docker tag nodejs-express <id>.dkr.ecr.eu-west-2.amazonaws.com/nodejs-express:latest
docker push <id>.dkr.ecr.eu-west-2.amazonaws.com/nodejs-express:latest

Run the Image

docker run -d -p 3000:3000 nodejs-express

About

๐Ÿš€ NodeJS Express Server Boilerplate

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published