Loading repository data…
Loading repository data…
etrupja / repository
Simple CRUD application using Angular 2 + Typescript + Materializecss
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
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.
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.
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.
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.
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.
https://www.youtube.com/watch?v=AYgs0kLjTLE