Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Node.js Demo App with CI/CD (GitHub Actions + Docker)

This is a simple Node.js web application that demonstrates an end-to-end CI/CD pipeline using GitHub Actions and Docker, with deployment on an AWS EC2 Ubuntu instance.


πŸ› οΈ Tech Stack

  • Node.js
  • Docker
  • GitHub Actions
  • AWS EC2 (Ubuntu)

πŸ“ Project Structure

nodejs-demo-app/ β”œβ”€β”€ app.js # Main Node.js application file β”œβ”€β”€ package.json # Node dependencies β”œβ”€β”€ Dockerfile # Docker instructions └── .github/ └── workflows/ └── main.yml # CI/CD GitHub Actions workflow


🐳 Docker Commands (on EC2)

# Log in to Docker
docker login

# Pull the latest image
docker pull your-dockerhub-username/nodejs-demo-app:latest

# Run the container
docker run -d -p 3000:3000 --name nodeapp your-dockerhub-username/nodejs-demo-app:latest

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages