https://github.com/kayyz1/devopsproject
https://github.com/kayyz1/devopsproject
artillery docker docker-compose expressjs nginx nodejs vite
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kayyz1/devopsproject
- Owner: kayYZ1
- Created: 2023-03-31T08:56:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T17:29:32.000Z (about 3 years ago)
- Last Synced: 2026-01-03T16:19:31.320Z (6 months ago)
- Topics: artillery, docker, docker-compose, expressjs, nginx, nodejs, vite
- Language: JavaScript
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DevOps project for internship
Due to simplicity both frontend and backend are written in JavaScript, Jenkins was choosen mainly due to being open source and quite easy to use. Application has one simple GET request endpoint that returns a list of colors with their names and values. Client displays on the screen data fetched from that specific endpoint. Both services (server and client) are contenerized with docker and build with docker-compose, in addition there is an small NGINX service configured to work as a loadbalancer. That redirects the request to either one of two running servers.
## Run locally
```bash
git clone https://github.com/kayYZ1/DevOpsProject.git
```
```bash
cd DevOpsProject
```
```bash
docker compose up --build
```
## Running Tests
```bash
npm run test //client
```