Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 2.13 KB

README.md

File metadata and controls

47 lines (29 loc) · 2.13 KB

Summary

Welcome to the Backend/Express.js Workshop of 2022, hosted by CSSC x GDSC! In this workshop, we hope to introduce you to the basics of Backend Programming using Express.js. In this document, you can find:

  • Setup instruction: How to setup and run the code (from this repo!), and install the required technologies
  • Resources: slides we used in this workshop, and online documentation/tutorials that we find helpful to learn front-end development
  • Credits: resources we take inspiration from/re-use for the purpose of this workshop, and the author contact for this workshop's materials!

The code in this repo is example online store that we will use to demonstrate important concepts. We will talk about it and work on it during the workshop!

Setup Instructions

Install requirements

For this workshop, you will need Node.js and Git, so follow the instructions below to install them.

  • Node.js (≥ 14.0.0) & Npm (≥ 5.6): Check nodejs.org for download information. Npm (Node package manager) is usually installed as a bundle with Node.js (so if you installed Node.js, you should also have npm)
  • Git (latest version recommended): Check https://git-scm.com/downloads for download information. You may find our Git Workshop (https://youtu.be/K1V_xtcGCl4) helpful in this workshop

Clone starter code

Now it is time to get the starter code on your computer and run it! Go to your terminal/git bash and clone this repo:

git clone https://github.com/utm-cssc/backend-express-workshop-2022.git

Note that you are not required to fork this repo, but you are able to if you want!

Once you clone this repo to your machine, you will change directories, install dependencies from the package.json file using the command 'npm install' and start the server using 'npm run start'

cd backend-express-workshop-2022
npm install
npm run start

Now paste this link in your browser: https://localhost:3000

You should see the website running.

Resources

To be updated later

Credits

  • Manjoy Malhotra (CSSC, GDSC), Manav Bhojak (CSSC)