Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/persteenolsen/angular-dapper-sqlite-client
- Owner: persteenolsen
- License: mit
- Created: 2024-02-24T16:58:03.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T15:17:32.000Z (about 1 month ago)
- Last Synced: 2024-11-10T16:25:32.712Z (about 1 month ago)
- Topics: angular, jasmine, karma, unit-testing
- Language: TypeScript
- Homepage: https://angular.dapper.sqlite.client.persteenolsen.com
- Size: 250 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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