Skip to content

SuryaGithub1996/simple-nodejs-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Simple Node.js App

A minimal Node.js application with a sample GitHub Actions workflow for CI/CD.
This project demonstrates building and running the app inside a Docker container.


📦 Features

  • Simple Node.js app (lightweight, easy to understand).
  • Pre-configured Dockerfile for containerized builds.
  • Ready-to-use GitHub Actions workflow for automation.
  • Quick local setup with Docker.

🛠️ Prerequisites

Before you begin, ensure you have the following installed:


🔨 Build Docker Image

Run the following command to build the Docker image:

docker build -t simple-nodejs-app:v0.0.1 .

▶️ Run Application

Start the app in Docker using:

docker run -p 90:80 --rm simple-nodejs-app:v0.0.1

Then open http://localhost:90 in your browser.

🧪 Run Locally (Optional)

If you want to run without Docker:

npm install
npm start

The app will run at http://localhost:3000 by default (depending on your config).

About

Simple nodejs app with GitHub Actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •