GithubHelp home page GithubHelp logo

shashicarcrew / angular2crud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etrupja/angular2crud

0.0 0.0 0.0 128 KB

Simple CRUD application using Angular 2 + Typescript + Materializecss

Home Page: https://www.youtube.com/watch?v=rBdjM05G1Dg

License: MIT License

HTML 30.23% TypeScript 49.26% JavaScript 19.99% CSS 0.52%

angular2crud's Introduction

Angular 2 CRUD application

Prerequisites

In order to use this repository you need to first set up the API. API, can be found:

https://github.com/etrupja/NetCoreAPI

Set it up, following the instructions on the repository.

Install npm packages/set up the application

git clone https://github.com/etrupja/Anguar2CRUD

Install the npm packages described in the package.json and verify that it works:

npm install
npm start

The npm start command first compiles the application, then simultaneously re-compiles and runs the lite-server. Both the compiler and the server watch for file changes.

Shut it down manually with Ctrl-C.

Testing

The QuickStart documentation doesn't discuss testing. This repo adds both karma/jasmine unit test and protractor end-to-end testing support.

These tools are configured for specific conventions described below.

Unit Tests

TypeScript unit-tests are usually in the app folder. Their filenames must end in .spec.

Look for the example app/app.component.spec.ts. Add more .spec.ts files as you wish; we configured karma to find them.

Run it with npm test Shut it down manually with Ctrl-C.

Test-runner output appears in the terminal window.

End-to-end (E2E) Tests

E2E tests are in the e2e directory, side by side with the app folder. Run them with npm run e2e.

Shut it down manually with Ctrl-C.

Set up the application

https://www.youtube.com/watch?v=AYgs0kLjTLE

Application demo

https://www.youtube.com/watch?v=rBdjM05G1Dg&t=94s

angular2crud's People

Contributors

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