Giter Site home page Giter Site logo

webapp-starter's Introduction

webapp-starter โ€” the seed for the VentureHacks tech session

Getting Started

To get you started you can simply clone the webapp-starter repository and install the dependencies. If you get lost, either yell my name out and flail or use git to pull the next step down.

Prerequisites

Have installed:

  • node
  • npm
  • git

Clone webapp-starter

Clone the webapp-starter repository using git:

git clone -b step-0 https://github.com/venture-hacks/webapp-starter.git
cd webapp-starter

The -b step-0 specifies the branch to clone. We will start with the 'step-0' branch.
If you get lost along the way, feel free to just clone the branch at our current step.
You can also 'pull' the step's branch that you want with git like so:

    git checkout {step's branch}

Install Dependencies

npm install
npm install -g bower
bower install

You should find that you have two new folders in your project. Let me know if you do not.

  • node_modules - contains the npm packages for the tools we need
  • app/bower_components - contains the angular framework and client-side dependency files

Note that the bower_components folder would normally be installed in the root folder but webapp-starter changes this location through the .bowerrc file. Putting it in the app folder makes it easier to serve the files by a webserver.

Directory Layout

app/                    --> all of the source files for the application
  components/           --> all app specific modules and directives
  app.css               --> default stylesheet
  app.js                --> main application module
  index.html            --> app layout file (the main html template file of the app)

To Run App

We will write the server to handle small functions on the backend and serve the Angular app on port 8080.

node server.js

or

npm run serve

Improvements to this app (??)

  • Dynamic scaling is needed!
  • What else do you think?

Further Reading:

Ask me!

webapp-starter's People

Contributors

austince avatar

Stargazers

 avatar

Watchers

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