Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/persteenolsen/angular-dapper-sqlite-client

Angular 14 Client working with a .NET Web API using Dapper and SQlite
https://github.com/persteenolsen/angular-dapper-sqlite-client

angular jasmine karma unit-testing

Last synced: 5 days ago
JSON representation

Angular 14 Client working with a .NET Web API using Dapper and SQlite

Awesome Lists containing this project

README

        

# angular-dapper-sqlite-client

Angular 14 - CRUD Example with Reactive Forms

# Tech used for this Web Client

- Node.js version 18.19.1
- Volta for Node Version management
- Angular 14 is the JS framework for this frontend
- TypeScript
- Jasmin for Unit Testing
- Karma for configuration and HTML Test report coverage
- Traditional Webhotel as hosting
- VS Code is my developement tool

# Installing

- Make sure you have a new version of Node installed
- Download the code by zip or fork
- Run the command npm install by the command promt

# Development server:

- npm run start

- You can view the development server at `localhost:4200`

# Production build:

- npm run build

The production build will be in the folder: dist

# Testing

- npm run test

Testing with Karma and Jasmine

Test example 1 - src/test.example.spec

Test example 2 - src/app/test.example.spec

Note: Testing was not working with Angular 15 !

Maybe could be solved adding a test.spec.ts