Here’s an improved version of your mini tutorial:
My steps were as follows:
- Create a folder (in my case, I created it directly on the desktop).
- Open the folder in VS Code.
- Create a repository on GitHub at https://github.com/Blandskron/NodeJSAPIREST.
- Clone the repository into the folder you initiated in VS Code using the command:
git clone https://github.com/Blandskron/NodeJSAPIREST. - Create the files as seen in the class.
- Next, create a branch in your repository using:
git branch routes. - Switch to the branch you just created with the command:
git checkout routes. - Select the files to stage for commit using:
git add .. - Create a commit with a descriptive message using:
git commit -m "Adding routes". - Finally, push your changes to the remote repository with:
git push -u origin routes.
These steps should help you set up your development environment and version control for your Node.js API project effectively.
Curso de Backend con Node.js: API REST con Express.js
COMPARTE ESTE ARTÍCULO Y MUESTRA LO QUE APRENDISTE
0 Comentarios
para escribir tu comentario


