Skip to content

Meganraj/todo-app-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

Node.js To-Do List Application

This is a simple To-Do List Application built with Node.js and Dockerized for easy deployment.

πŸš€ Features

  • Add, delete, and update tasks.
  • REST API for managing tasks.
  • Docker support for containerized deployment.

πŸ› οΈ Tech Stack

  • Backend: Node.js, Express.js
  • Containerization: Docker

πŸ›† Installation & Setup

1⃣ Clone the Repository

git clone https://github.com/N4si/learn_docker.git
cd learn_docker

2⃣ Install Dependencies

npm install

3⃣ Run Locally

npm start

By default, the app runs on port 3000.


🐳 Running with Docker

1⃣ Build the Docker Image

docker build -t my_to_do_app .

2⃣ Run the Container

docker run -p 3000:3000 my_to_do_app

3⃣ Stop the Running Container

To stop the running container, first find its ID:

docker ps

Then stop it:

docker stop <CONTAINER_ID>

πŸ‘€ Pushing to Docker Hub

1⃣ Log in to Docker Hub

docker login

2⃣ Tag the Image

docker tag my_to_do_app megan/my_to_do_app

3⃣ Push the Image

docker push your_docker_hub_user_name/my_to_do_app

πŸ’‘ Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

About

A simple Node.js-based To-Do List application, containerized with Docker for easy deployment. Supports task management via a REST API and can be integrated with MongoDB/PostgreSQL for persistent storage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors