https://github.com/cre8stevedev/deploying_multiple_node_app_002
https://github.com/cre8stevedev/deploying_multiple_node_app_002
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cre8stevedev/deploying_multiple_node_app_002
- Owner: Cre8steveDev
- Created: 2024-08-23T17:09:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T07:09:00.000Z (almost 2 years ago)
- Last Synced: 2025-05-22T11:33:10.030Z (about 1 year ago)
- Language: HTML
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# Simple Express.js Server for AWS EC2 Deployment Demo 02
This repository contains a basic Express.js server used to demonstrate the deployment of multiple Node.js applications on an AWS EC2 instance using GitHub Actions.
## Purpose
This server is part of a practical guide titled:
"Practical Guide to Set Up Multiple NodeJS Apps on AWS EC2 Instance with Automatic Deployment using GitHub Actions (Screenshots)"
The guide walks through the process of setting up and automatically deploying multiple Node.js applications to a single AWS EC2 instance using GitHub Actions for continuous integration and deployment (CI/CD).
## Repository Contents
- `server.js`: The main Express.js server file
- `public/`: Directory containing static HTML files
- `index.html`: Home page for the demo application
- `about.html`: About page for the demo application
## Setup
1. Clone this repository
2. Run `npm install` to install dependencies
3. Create a `.env` file with PORT number
4. Start the server with `npm run dev`
## Usage
This server is intended for demonstration purposes only. It serves static HTML pages and is configured to run on port 3002 by default.
## Author
Created by @Cre8steveDev
## Related Article
For a detailed guide, please refer to the accompanying article: