Skip to content

2 days hands on training with how and where to start web development and complete Node.js as well Open source with SIH winner 2020 and Mozilla Chandigarh Lead . Event by Girlscript Deheradun

Notifications You must be signed in to change notification settings

Girlscript-Deheradun/Web-Development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Development - Event 01 Girlscript Deheradun <> Getting to know Node.js

Node JS is an open source, cross platform system for building web application powered by Google's V8 engine. It operates on the backend and Google's developer tools can be used for Node JS debugging by default, making it easier for developers. Hence it's a myth that beginners can't work on Node JS.

2 Days Event 12-13 August 2020 , With SIH Winner Mentor Hitik Saini

What Students will Learn and have from the event

From the event students will have :

  • Own Blog website ( Will be created in the event hands on )
  • Idea of start of Git and Github and open source
  • Complete tech knowledge of start of web dev

Download the completed Project from here

Tech Stacks will be followed

Tech stacks that you will be learning and working with :

HTML
CSS5
Body-Parser 
Express and Node.js
Mongo DB 

Installation Guide: Node.js | Express.js | MongoDB

Node.js on Windows : Download

Installation Steps

  • Download the Windows installer from the Nodes.js® website
  • Choose the LTS version that’s shown on the left.
  • Run the installer (the .msi file you downloaded in the previous step.)
  • Follow the prompts in the installer (Accept the license agreement, click the NEXT button a bunch of times and accept the default installation settings).
  • Restart your computer. You won’t be able to run Node.js® until you restart your computer.
  • Confirm that Node has been installed successfully on your computer by opening a Hyper terminal and typing in the commands

node --version

You should see the version of node you just installed.

Node.js on Mac : Download

Installation Steps

  • Download the Mac installer from the Nodes.js® website.
  • Choose the LTS version that’s shown on the left.
  • Run the installer (double-click on the .pkg file you downloaded in the previous step.)
  • NOTE: If you are running macOS Catalina 10.15, you might get a warning pop up
  • To solve this issue, just right click (hold down the control key on the keyboard and click) on the .pkg file and select "Open With" and then select "Installer (default)".
  • Follow the prompts in the installer (Accept the license agreement, click the NEXT button a bunch of times and accept the default installation settings).
  • Confirm that node has been installed successfully by opening a Hyper terminal and entering the command

node --version

You should see the version of node you have just installed.

Express is a framework for Node.js it can be used by using npm package.

npm install express

MongoDB Installation

Download the msi file based on your platform(windows, mac, linux etc) Download

Install

  • Select the latest version and click download.
  • After downloding the file double click it, and install it in complete mode.
  • Note the data directory I recommend you not to change and keep it default.
  • Uncheck Install mongodb compass, we don't need it for now.
  • Click Install now.

Configure

After successfully installing the latest version you need to configure the database to use it.

  • Navigate to your C:// drive or /home in linux
  • Create a folder and name it "data" (make sure to name it exactly)
  • Now make another folder inside this folder named "db" (make sure to name it exactly) The path should now appear like this:

C:\data\db

Now set alias to your database based on your database directory in your C drive.

  • cd ~
  • touch .bash_profile
  • now open this bash file and set alias (mongo = "just paste the directory") Installation details mentioned in Git Repo Issue section & Mandatorily Fork the repo

About

2 days hands on training with how and where to start web development and complete Node.js as well Open source with SIH winner 2020 and Mozilla Chandigarh Lead . Event by Girlscript Deheradun

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published