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: 10 months 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T06:18:18.000Z (about 3 years ago)
- Last Synced: 2024-11-05T19:44:35.114Z (over 1 year 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

## Automatic ER diagram

## 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``