Skip to content

DanzaSeah/techworld-with-nana-developing-with-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo app - developing with Docker

In this lesson we worked with Mongo and Docker

  • I started by cloning the repo and adding him to my github account.
  • I then run docker compose up to start the containers
  • I then moved in to the app folder
    • cd app
    • npm ci (npm ci is faster then npm install)
    • npm run start
  • I then went to the browser and went to localhost:3000
  • I updated the information in the form and clicked submit
  • img.png
  • I then went to http://localhost:8080/ to see the data in the database
  • img_1.png
  • I build a conatiner from the app folder
    • docker build -t app .
  • And pushed it to nexus by adding the nexus register to my docker engine
  • img_2.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.2%
  • JavaScript 34.6%
  • Dockerfile 5.2%