Fruits Setup

Setup

Open your Terminal application and navigate to your ~/code/ga/lectures directory:

cd ~/code/ga/lectures

Make a new repository on GitHub named men-stack-crud-app-fruits.

Clone a copy of your remote repo locally by using the git clone command:

git clone https://github.com/<your-username>/men-stack-crud-app-fruits.git

🚨 Do not copy the above command. It will not work. Your GitHub username will replace <github-username> (including the < and >) in the URL above.

Next, cd into your new cloned directory, men-stack-crud-app-fruits:

cd men-stack-crud-app-fruits

In this directory create a server.js file:

touch server.js

Create a node project along with its package.json file by using this command:

npm init

During initialization, you will be prompted to customize your project and the package.json file.

At this point, accept the defaults (by just hitting Return/Enter for each prompt without adding any values).

Open the project directory in VS Code:

code .