Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knehez/dynamicforms
Angular 7 - dynamic reactive forms generated from typeorm entities
https://github.com/knehez/dynamicforms
angular7 crud-sample dynamic-forms typeorm
Last synced: 5 days ago
JSON representation
Angular 7 - dynamic reactive forms generated from typeorm entities
- Host: GitHub
- URL: https://github.com/knehez/dynamicforms
- Owner: knehez
- Created: 2019-02-10T19:27:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T06:18:18.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T15:45:45.288Z (3 months ago)
- Topics: angular7, crud-sample, dynamic-forms, typeorm
- Language: TypeScript
- Size: 2.51 MB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular 7 - Dynamic Reactive Forms directly from TypeORM models
This project demonstartes how to generate Angular7+ dynamic reactive forms and CRUD tables, directly from [typeORM](http://typeorm.io) models.
## Creates tables and reactive forms for data handing
![diagram](images/main.png)## Automatic ER diagram
![diagram](images/erd.png)## Prerequistences
- mySQL server
## Installation steps
- clone repository
- ``npm install``
- Check ormconfig.json and set your DB connections details
- Run db migration ``npm run migration``
- start client: ``npm run start``
- start backend: ``npm run gulp backend``## Database migration scripts
- Generate new migration: ``npm run generate-migration -- -n ``
- Run migrations: ``npm run migration``
- Revert the last migration: ``npm run revert-migration``