This repository contains the files for a web-based user directory that utilizes Node.JS and the Express framework. It creates a simple web page that allows you to view the user directory and add/delete users from it using AJAX API requests. The user directory is hosted using a MongoDB database. Each component has the ability to be ran in a separate container
I created a presentation to talk about how I approached this project and the various things I learned while creating this. Check out the presentation here
To run this application you must have Docker and Docker-Compose
git clone https://github.com/kamieliz/ASE-Interview-P1.gitcd ASE-Interview-P1docker-compose up
-d let you run the app detached from your terminaldocker-compose ps to see what is currently runningdocker-compose up -d use docker-compose stop to stop your service once done.
CTRL + CI created a Docker image that builds Jenkins with Docker in the same container.
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -p8080:8080
kamehardy/jenkins-withdocker:latest
http://localhost:8080To Build the Web Application, I used materials from the following tutorials:
To connect to Docker and utilize Docker-Compose:
Using Jenkins for automation:
Ansible and Orchestration: To view ansible attempt check out ansible folder
Content type
Image
Digest
Size
356 MB
Last updated
about 6 years ago
docker pull kamehardy/node-express-app