Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/akarsh/nginx-nodejs-example-project
- Owner: akarsh
- License: gpl-3.0
- Created: 2024-01-27T11:53:48.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-22T07:08:02.000Z (7 months ago)
- Last Synced: 2024-11-06T04:29:31.493Z (about 2 months ago)
- Topics: automation-testing, docker-compose, github-actions, nginx, node-js
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.