How To Upload Your React Projects To Github In 6 Easy Steps

Software Engineer | Technical Writer
Search for a command to run...

Software Engineer | Technical Writer
No comments yet. Be the first to comment.
Identity and Authentication in a Kubernetes Cluster.
A guide to understanding common terminal operations that occur during the installation of a Linux application.

An implementation of lazy loading in Reactjs with React router v6.

If you're trying to configure MongoDB on your Ubuntu 20.04, one of the problems you might encounter is working with the mongod service. This article explains how to fix the exitcode:100 error and why it pops up when you try to start a mongod service ...

A beginner-friendly guide to linking pages in Reactjs

Have you ever had to copy and paste from folder to folder when you uploading your projects to Github? There's nothing to be ashamed of, I used to do this (before). Is it efficient?
How about this? Follow me as I show you 7 easy steps to upload your react projects(or any project at all) to Github.
Note:
- If it's a react project, make sure to have created your react project with preferred Toolchain(e.g Create-react-app or NextJs).
- Create a repository with your intended project name
If your projects is the Documents folder, enter
> cd Documents/project-folder
> git init
> git add .
> git commit -m "first commit"
The dummy URL is the URL to your git repository which you can copy from github.
> git remote add origin https://github.com/username/reponame.git
> git push -u origin master
Woo hoo! You've uploaded your project to github in just a few minutes.
I hope this article helps someone.