All Projects → rjmarques → angular2-typescript-recipe

rjmarques / angular2-typescript-recipe

Licence: MIT license
A webapp structure template, containing what I find to be good practices for starting a web project

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to angular2-typescript-recipe

Angularjs Webpack Starter
🚀 A modern frontend setup for AngularJS projects using NPM, TypeScript and Webpack.
Stars: ✭ 173 (+1053.33%)
Mutual labels:  karma
karma-detect-browsers
Karma runner plugin for detecting all browsers installed on the current system.
Stars: ✭ 44 (+193.33%)
Mutual labels:  karma
testing-angular-applications
Project for the Testing Angular Applications book
Stars: ✭ 99 (+560%)
Mutual labels:  karma
Karma Mocha Reporter
Karma reporter plugin with mocha style logging.
Stars: ✭ 197 (+1213.33%)
Mutual labels:  karma
osint
Docker image for osint
Stars: ✭ 92 (+513.33%)
Mutual labels:  karma
working-plusplus
Like plusplus.chat, but one that actually works, because you can host it yourself 😉
Stars: ✭ 21 (+40%)
Mutual labels:  karma
React Redux Universal Boilerplate
An Universal ReactJS/Redux Boilerplate
Stars: ✭ 165 (+1000%)
Mutual labels:  karma
karma-expect
Expect.js adapter for Karma test runner
Stars: ✭ 12 (-20%)
Mutual labels:  karma
karma-tap
Let your Karma tests to consume TAP output
Stars: ✭ 29 (+93.33%)
Mutual labels:  karma
angular-admin-panel
An Angular Admin boilerplate to quickly scaffold any large scale enterprise application.
Stars: ✭ 18 (+20%)
Mutual labels:  karma
React Cordova Boilerplate
TodoMVC example for react with development tools to build a cordova application
Stars: ✭ 206 (+1273.33%)
Mutual labels:  karma
Ol3echarts
🌏 📊 ol3Echarts | a openlayers extension to echarts
Stars: ✭ 229 (+1426.67%)
Mutual labels:  karma
karma-riot
A Karma plugin. Compile and test HTML and JS in Riot tag files.
Stars: ✭ 20 (+33.33%)
Mutual labels:  karma
Swarmstack
A Docker swarm-based starting point for operating highly-available containerized applications.
Stars: ✭ 181 (+1106.67%)
Mutual labels:  karma
angular-cli-skeleton
angular-cli skeleton to quickly start a new project with advanced features and best practices. All features are described in README.md.
Stars: ✭ 32 (+113.33%)
Mutual labels:  karma
Saka
Elegant tab, bookmark and history search
Stars: ✭ 170 (+1033.33%)
Mutual labels:  karma
react-facebook-friends
👍Web app to rank, quantify your FaceBook friendship with React
Stars: ✭ 26 (+73.33%)
Mutual labels:  karma
generator-speedseed
Oriented to components, allow create/choice template, multiple configuration with easy maintenance
Stars: ✭ 13 (-13.33%)
Mutual labels:  karma
karma-reporter
A plugin for running clojurescript tests with Karma.
Stars: ✭ 23 (+53.33%)
Mutual labels:  karma
vue-webpack-boilerplate
A webpack boilerplate with vue-loader, axios, vue-router and vuex
Stars: ✭ 51 (+240%)
Mutual labels:  karma

Angular 2 & Typescript Recipe

This project aims to provide a base structure for a web project. It is not meant as a tutorial of any kind, but instead to remove initial boilderplate build definition concerns. Thus, provinding a pre-defined and robust build structure upon which multiple developers can work on to build something great!

Build Status

Installation

This project requires Node.js v4.x.x and NPM 3.x.x ro run:

$ node -v
$ npm -v

From the project's root folder run:

$ npm install
Development Build

Before starting to develop run:

$ npm start

This will initialize source bundling, and watch your src folder for any change you make to the source files. It will also build a continuously updated in-memory build version that can be accessed at http://localhost:8080/

You can use your favourite IDE to start coding. All your changes will be automatically reflected on the resulting app.

Production Build

You can also obtain a production ready build by running:

$ npm run build

This will place all your files in a dist folder. The latter's contents can be copied to your hosting server and made available to everyone. Note, the source files are minified, and source maps are not created by default.

If you don't have a hosting service, fear not! I've provided a little file called server.js, which is a very basic HTTP server. This server will resolve requests from the dist folder.

To run this http server:

$ node server.js

You can reach your app at http://localhost:1337/

Testing Build

To run your unit tests:

$ npm run test

Under The Hood

As the name implies, this project is built on top of Angular 2 and Typescript. Naturally, other techologies are also used:

  • Angular 2 - The MVC framework on top of which the application is built
  • Typescript - A Javascript super-set language
  • SASS - CSS on steroids
  • Webpack - An extremelly good module bundler
  • Karma - Testing framework

These ones were picked for two main reasons: I believe they are good at what they aim to do, and I wanted to learn more about them.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].