Upload Your Project to GitHub

Great going buddy! You’ve built a fully functional and stylish To-Do List App using React. But what good is a project if no one can use it? This module walks you through the process of deploying your app online so that anyone in the world can access it via a live URL — using GitHub and Netlify.

Upload Your Project to GitHub

Before deploying, your code needs to live somewhere on the internet — and GitHub is the perfect place. Here’s how to upload your project step by step.

Step-by-Step: Push to GitHub Using Terminal

  1. Open your project folder in your terminal (VS Code terminal or any command prompt).
  2. Run these commands (one by one) :
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/yourusername/todo-react-app.git
git push -u origin main

Make sure to replace yourusername with your actual GitHub username and change the repo name if needed.