Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chintanboghara/demo-nodejs
This is a simple demo Node.js application designed for deployment via Docker. The project includes a basic GitLab CI/CD pipeline to build, test, and deploy the app.
https://github.com/chintanboghara/demo-nodejs
cicd docker gitlab nodejs
Last synced: 13 days ago
JSON representation
This is a simple demo Node.js application designed for deployment via Docker. The project includes a basic GitLab CI/CD pipeline to build, test, and deploy the app.
- Host: GitHub
- URL: https://github.com/chintanboghara/demo-nodejs
- Owner: chintanboghara
- Created: 2024-10-20T06:28:27.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T05:54:39.000Z (2 months ago)
- Last Synced: 2024-10-24T22:38:23.097Z (2 months ago)
- Topics: cicd, docker, gitlab, nodejs
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo NodeJs
This is a simple demo Node.js application designed for deployment via Docker. The project includes a basic GitLab CI/CD pipeline to build, test, and deploy the app.
## Project Overview
This Node.js application demonstrates the use of Docker for containerization and CI/CD with GitLab. It uses a basic Express server to respond to requests on port 3000.
## GitLab Repository
Access the repository here:
https://gitlab.com/chintanboghara/Demo-NodeJs.git### Pipelines
Check out the pipeline status and details here:
https://gitlab.com/chintanboghara/Demo-NodeJs/-/pipelines## Docker Hub
https://hub.docker.com/repository/docker/chintanboghara/demo-nodejs/
## CI/CD Pipeline
This project is set up with GitLab CI/CD. The `.gitlab-ci.yml` file includes the following stages:
- **Build**: Builds the Docker image.
- **Test**: Runs basic tests (currently placeholder).
- **Push to DockerHub**: Tags and pushes the Docker image to DockerHub.
- **Deploy**: Pulls and runs the image in a Docker container.