Code Monkey home page Code Monkey logo

angular4-example-app's Introduction

Example app with Angular 4 + Angular CLI + Angular Material + Travis CI

Base project made with much โค๏ธ . Contains CRUD, official style guide, patterns, etc.

travis Coverage Status Codacy Badge Known Vulnerabilities Conventional Commits

dependency Status devDependency Status peerDependencies Status

Join the chat at https://gitter.im/angular4-example-app/Lobby

GitHub forks GitHub stars

DEMO

Live DEMO here!

angular-example-app

Usage

Warning: we strongly recommend node >=v6.9.0 and npm >=3.0.0

npm i - Installs everything needed

npm start - Starts the app. Then, go to localhost:4200

npm run test - Runs unit tests with karma and jasmine

npm run e2e - Runs end to end tests with protractor

npm run build - Builds the app for production

npm run lint - Runs the linter (tslint)

npm run ci - Executes linter and tests

npm run deploy - Builds the app and deploy it to Github pages (angular-cli-ghpages) (fork to do this)

npm run sme - Builds and runs source map explorer, really cool :)

npm run release - Creates a new release using standard-version

Windows: use precompilation to speed up

tsc --project tsconfig.json npm start

Features

  • Responsive layout
  • Internationalization
  • Lazy loading modules
  • Progress bar active, if a request is pending (events)
  • CRUD: create, update and remove heroes
  • Search bar, to look for heroes
  • Modal and toasts (snakbar)!
  • Sample unit tests with Jasmine and Karma including code coverage
  • End-to-end tests with Protractor
  • ES6 Promises
  • Github pages deploy ready
  • Following the best practices!

Travis CI

We use Travis CI to run this tasks in order:

  • Linter
  • Tests e2e
  • Build for production
  • Deploy in Github pages :)

Contributing

  • Please see the CONTRIBUTING file for guidelines.
  • Create pull requests, submit bugs, suggest new features or documentation updates ๐Ÿ”ง

Server

This repo is using an API which is a minimal app in NodeJS deployed on Heroku and using PostGreSQL, to create, modify and delete heroes.

Contributors

Thanks to all contributors and they support!

License

MIT

Enjoy ๐Ÿค˜

We are always happy to hear your feedback!

angular4-example-app's People

Contributors

codacy-badger avatar codeimmortal avatar dyeimys avatar ismaestro avatar tomasfse avatar

Watchers

 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.