Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/akarsh/nginx-nodejs-example-project

This is an example project that demonstrates the use of Nginx as a reverse proxy server for a Node.js web application.
https://github.com/akarsh/nginx-nodejs-example-project

automation-testing docker-compose github-actions nginx node-js

Last synced: 10 days ago
JSON representation

This is an example project that demonstrates the use of Nginx as a reverse proxy server for a Node.js web application.

Awesome Lists containing this project

README

        

# Nginx Node.js Example Project

[![Docker Compose Test](https://github.com/akarsh/nginx-nodejs-example-project/actions/workflows/docker-compose-test.yml/badge.svg?branch=main)](https://github.com/akarsh/nginx-nodejs-example-project/actions/workflows/docker-compose-test.yml) [![Test with Background Server](https://github.com/akarsh/nginx-nodejs-example-project/actions/workflows/test-with-background-server.yml/badge.svg)](https://github.com/akarsh/nginx-nodejs-example-project/actions/workflows/test-with-background-server.yml)

This is an example project that demonstrates the use of Nginx as a reverse proxy server for a Node.js web application.

## Prerequisites

Before running this project, make sure you have the following installed:

- Node.js version 20.11.0

## Getting Started

1. Clone the repository:

```bash
git clone https://github.com/akarsh/nginx-nodejs-example-project.git
cd nginx-nodejs-example-project
```

2. Install the dependencies:

```bash
cd nodejs
npm install
```

3. Start the Node.js server:

```bash
npm start
```

## Project Structure

The project structure is as follows:

- `nodejs/` - Node.js web application code

## License

This project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for details.