Code Monkey home page Code Monkey logo

reference's Introduction

This project is the "Getting Started" project for EvovleU Full Stack Development program. It is a baseline to demonstrate:

  • development environment
  • development tools
  • best practices

Required Tools

The following tools are required to run the sample project:

  • git - If you do not have git installed, install with default parameters. See git. To check, enter:
git --version
  • Node - If you do not have Node installed, install the LTS version (left). See node. To check, enter:
node -v
  • VSCode - If you do not have VSCode installed see VSCode.
  • live-server - is a little development server with live reload capability.
npm install -g live-server

Setup Instructions

For the following instructions use your command line. In Windows, it could be dos or PowerShell. For mac and Linux use terminal.

  1. Clone this repository. In your command line move to the directory that you would like to use as your base code directory. This command will add a directory below the directory you are in.
git clone https://github.com/larryevolveu/reference.git
  1. Install the dependencies required for the project. This command looks at the 'package.json' file and installs all of the dependencies.
cd reference
npm i
  1. Run the automated unit tests to ensure the code works as advertised.
cd src
cd 01-getting-started
npm test

All the tests should run.

  1. Start a simple development server with live load capabilities.
live-server

Look through the application. Notice in the "Size" section of the web page there is some logic that, based on a number, will tell you if it is small / medium / large.

Dissecting what's there

Let's start looking at this simple application. First, you will notice that the HTML and CSS in the project are fairly complicated. Like it or not, the design and layout is the sizzle that sells. The functionality is expected to work.

As Full Stack Developers, we will often be expected to contribute or even write the design component of the project. For the next six months, we will be concentrating on the Programming or logic component more than the css or html components. This does not mean that it's not important.

  1. Notice the directory structure. It may not be exact, but it will be close.
reference/
  node_modules/
  src/
    01-getting-started/
      images/
      scripts/
      index.css
      index.html
  package.json
  README.md
  1. At your leisure, look through the HTML and CSS and figure out how it works. For now, let's look at the simple logic component.
  2. In file src/01-getting-started/index.html search for "idSize". Let's drill into how that works. Look at src/01-getting-started/scripts. We will spend some time here.

reference's People

Contributors

lshumlich 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.