This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
ng-es6-skeleton with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
The skeleton has the basic page structure for a single page web application, including a header, nav, main content area, and footer. There are a couple mock app modules to get you started. They also contain tests and a starter karma and protractor configuration.
** Application Structure:**
/modules/ <-- application pages / screens grouped topically /common/ <-- common, reusable code (components, directives, styles, etc) app.js <-- entry point index.html
This was my first dive into Angular, and coming from the React-world, the component based approach makes the most sense to me from an application design perspective. Component-based architecture appears to be the emerging standard for web application development, and is core to the React philosophy as well as the new Angular 2 framework. I tried to incorporate industry standard best practices, but I'm still new to Angular so feel free to suggest improvements.
git clone https://github.com/seanmclucas/ng-es6-skeleton.git
npm install npm start
npm start will start up the webpack dev server on port 3000. This gives you Auto Refresh, which drastically speeds up development and debugging. Let me know if you have any problems running it. Hot Module Replacement coming soon.
npm run build:prod
npm run test:unit OR npm run test:unit-watch
npm run test:e2e-server npm run test:e2e
npm run lint
TODO: Notes about SublimeLinter config Fix issue with common base path resolves