https://github.com/danielstern/danielsternwebsite
https://github.com/danielstern/danielsternwebsite
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/danielstern/danielsternwebsite
- Owner: danielstern
- Created: 2014-11-04T21:30:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-11T00:38:06.000Z (over 11 years ago)
- Last Synced: 2025-02-10T15:50:58.089Z (over 1 year ago)
- Language: JavaScript
- Size: 2.96 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Modern Webapp
=================
LESS + Typescript + Angular = Awesome
#Introduction
This is based on the popular HTML5 boilerplate but with several additions.
##Dependencies
- Grunt
- Less
- TypeScript
- Bower
-
##Usage
Clone the repository with Git Clone.
Install all the dependencies:
```
npm install -g bower;
npm install -g grunt;
npm install -g grunt-cli;
npm install -g less;
npm install -g typescript;
npm install;
bower install;
```
Run grunt serve to serve the repository:
```
grunt serve;
```
##Differences from the original webapp
This app uses Typescript instead of Javascript. You can still use Javascript though, because Typescript is a superset of Javascript. However, a live-reload precompiler will warn you well in advance of any potential bugs. This app also opts for LESS instead of CSS. This app features a modern Bootstrap 3 implementation.
### Typescript
Typescript provides desperately needed support for typing and classes in Javascript. Anyone who has tried to build a large application, like a game, in Javascript, only to eventually feel it come tumbling down upon them like so many pieces of spaghetti, will immediately understand the benefits.
- option to add strong typing for big projects
- active community
- don't have to use it - Javascript is valid Typescript
### LESS
LESS is a powerful alternative to just writing normal CSS.