GitHub - OneMillionthUsername/RenameToYourProject

1 min read Original article ↗

Skip to content

Navigation Menu

Repository files navigation

This is an empty project, set up with a recommended structure for NodeJs Express apps.

Mainly following the guides on GeeksforGeeks and other security sources. https://www.geeksforgeeks.org/node-js/express-js/

install

  • create an empty repository on your GitHub
  • Don't change the default settings -> no readme, no .gitignore, no license (This can be done later)

Type into terminal

  • clone this repository
  • add a specific download path or leave it empty.
git clone https://github.com/OneMillionthUsername/RenameToYourProject <download-path>
  • rename the folder RenameToYourProject to your projects name
  • remove the old remote repository link
  • add your newly created repository link
git remote add origin <url-to-your-new-repository>
git branch -M main
git push -u origin main
  • create your package.json
npm init -y
npm install express
  • create your .gitignore and change the readme
  • write your own code now

Done