This package has been deprecated

Author message:

Module moved on github

genese-angular-demo
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

genese-angular-demo

genese-angular-demo is a demonstration of the genese-angular module, with the help of a backend in NestJs.

This demonstration will help you to understand the concepts of the genese-angular module, which is using the core of the Genese framework : the generic mapper genese-mapper.

## Installation

At first you need to install the npm module:

npm install genese-angular-demo --save

Start

  • Open a first terminal, move on the backend folder and launch the NestJs backend:
npm run start

By default, the backend will be launched on port 3000.

  • Open a second terminal, at the root of the project, and launch the frontend Angular app :
npm run start

By default, the frontend will be launched on port 4200.

Usage

On the left side, you can choose which genese-angular method that you want to test. You will see most of the results on the page of the app, but some of them are displayed only in the navigator console. This behavior is the simplest way to show you the difference between the json data sent by the backend and the typed objects returned by the genese-angular module.

Package Sidebar

Install

npm i genese-angular-demo

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

3.91 MB

Total Files

136

Last publish

Collaborators

  • gillesfabre