02 - Back-End Setup
In this module, we'll set up our file structure for our Server.
File Structure
Create the following folders and files in your JavaScript library:
.gitignore
To create a .gitignore, you will go into VS Code and Add new file. The file extension is .gitignore. This is an actual file type.
Add
node_modules/
to your.gitignore
. TAgain, anytime you work with npm packages, it's best practice to include this in your.gitignore
. If you forget, hundreds or thousands of extra, unnecessary files will be pushed to your GitHub repository. Simply add the following to the.gitignore
file:node_modules/
app.js
can be left blank for now.
Last updated