Skip to content

This is a simple HTML and NodeJs app that gets containerized whenever a push is made to the main branch

Notifications You must be signed in to change notification settings

poly4concept/simple-profile-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Profile

This is a simple HTML, NodeJs and MongoDB app that gets containerized whenever a push is made to the main branch

This demo app shows a simple pet profile app set up using

  • index.html with pure js and css styles
  • nodejs backend with express module
  • mongodb for data storage
All components are docker-based

Getting started:

Fisrtly, clone the repo:

git clone [email protected]:poly4concept/simple-profile-app.git

Then, use the command to move into the directory

cd simple-profile-app

To start the application

Step 1: Run the below command:

docker-compose up

make sure you are in the root directory containing the docker-compose file

Step 2: Access the mongo-express UI on port localhost:8081, create a new database my-db and create a new collection pets in the database my-db

Step 3: You can now access the app on localhost:3000

About

This is a simple HTML and NodeJs app that gets containerized whenever a push is made to the main branch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published