An open API service indexing awesome lists of open source software.

https://github.com/cre8stevedev/deploying_multiple_node_app_001


https://github.com/cre8stevedev/deploying_multiple_node_app_001

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Simple Express.js Server for AWS EC2 Deployment Demo 01

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 3001 by default.

## Author

Created by @Cre8steveDev

## Related Article

For a detailed guide, please refer to the accompanying article: