GithubHelp home page GithubHelp logo

week6's Introduction

Logo

Node Express Starter

Report Bug ยท Request Feature

Table of Contents

About This Repo

๐ŸŒ We will be building a simple Express Server application for learning how "servers" and "clients" communicate using Node.js and Express!

Node.js is a software created to make server-side programming with JavaScript possible. This allows developers to use the same language for both the frontend (what you see in your browser) and the backend (the server handling data and logic). This consistency can make development more efficient and streamline the process of building a web application.

Express is a web application framework for Node.js. It allows you to quickly create routes and APIs and handle requests and responses. With middleware and a minimalist structure, Express.js makes it easy to build fast and scalable web apps and services using Node.js.

GitHub Setup

  • Create Repo from Use Template:

    • Click HERE or the Use Template button in this repo to create a new repo.
    • Ensure Include all branches is left unchecked.
    • Specify your username and repo name appropriately.
    • Provide a description for the repo (optional).
    • Set the repo as Public.
    • Click Create repository.

๐Ÿ” back to top

Local Setup

  • Clone your Repo:

    • Click the <> Code button in this repo and choose SSH.
    • Copy the URL. It should look something like: [email protected]:YOUR-USERNAME/YOUR-REPO-NAME.git.
    • In your terminal, navigate to the directory where you want to clone this repo.
    • Execute git clone [email protected]:YOUR-USERNAME/YOUR-REPO-NAME.git, replacing the placeholders with actual values.
  • Initialize Node.js application in Repo:

    • In the terminal, navigate to the folder you cloned this repo to and run the following to create a default package.json file:

      npm init -y

    NOTE: Project names (when running npm init without the --y) can not have capital letters or spaces.

  • Install Express package:

    • In the terminal, we need to install Express to use it:

      npm install express

๐Ÿ” back to top

Instructions

You will be adding code to the server.js and the client.js files in your code to get your server and client both running.

NOTE: The key combination ctrl-c will stop your server/client from running once you have it created and started. Whichever current Node.js process is running in that terminal will stop on macOS.

Follow along with your instructor to create a splendid Express Server application! Happy Priming!

๐Ÿ” back to top

week6's People

Contributors

alvingraham avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.