Closed aammfe closed 5 years ago
I'm using TypeORM with NestJS as server and Angular 6 as client, too. I've made a 'client' and a 'server' dir under 'src' and starting 'server/index.ts' via nodemon and angular the normal way with 'ng serve', htis works finde so far. I've no idea how to handle this on the web server after uploading, but until now it's fine :-:
Actually I want to create angular election application. and could not even compile angular typeorm
is there any solution on this one?
This question is off-topic. Its like using typeorm+react or using typeorm+android application. Angular is a separate library and its client-side library and I guess you are using typeorm on the server.
@pleerock I don't know how much the question itself is correct but I found a kit for those who need it, (worked with it last night and it was ok): https://github.com/CubikNeRubik/angular-electron-typeorm-starter.git I created a private repo based on it and upgrade dependencies and remove the material kit and etc if anyone needs that, I can make it public --- update --- @pleerock I also created a new repo based on it and make it up to date you can find it here https://github.com/MetaiR/angular-electron-typeorm
Turns out TypeORM doesn't really care about integration with other frameworks. I paid the price for it a year ago after all my work based on it went down the drain after an update broke compatibility with Angular. It would probably be much safer to move towards something else like Loopback 4 which doesn't consider itself as completely separate from the typescript ecosystem.
@ZiadJ I am really sorry you have such experience with typeorm but as you can see our "team" is heavily undersized (lot of features are waiting, 550+ issues unresolved long time). It is not in our power to handle all possible integrations with typescript based frameworks. I have to say it again and again. We are just ordinary people and do everything in our free time.
I also have to say we are focused on nodejs support as backend is mostly place where majority of developers handle DB operations. As Angular developer I would like to see better support of angular in future. But right now I do not have so much time to handle it. So if you are interested clone typeorm repo and check source code. If you have any ideas how to bring back angular support I will help you as much as possible.
Contributing is welcome every time.
Is anyone aware of a client side ORM except normalizr, which isn't really an ORM... What I'm looking for is ... Every entity has a repository service E.g. user user service /api/users Post post service /api/posts Etc What I'm looking for, for Angular is something where I define relationships, fetch the data from the services, combine the data, and provide a way of querying the data that was stored client side, optionally fetching current data from the http endpoints. And all that without the complexity and boilerplate of ngrx. In fact I don't want to use state management at all.
So, any ormish client anyone is aware of?
Hello!! good idea !!!
but off-topic question. but how u are going to mange inconsistency bw client and server db?
and other thing suppose we have a listView or pageView , and 2000 items are loaded bcs user have just use this view on backend 1|2|3 items are changed. how u will upload client db ?
Issue type:
[ X] question [ ] bug report [ ] feature request [ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]mongodb
[ ]mssql
[ ]mysql
/mariadb
[ ]oracle
[ ]postgres
[ x]sqlite
[ x]sqljs
[ ]react-native
[ ]expo
TypeORM version:
[ ]
latest
[ ]@next
[ ]0.x.x
(or put your version here)Hello!!
I m trying to integrate typeorm in angular but unable due to ngcli limitation. I have followed this documentation but could not make it work with typeorm.
still getting
errors
repo where you can see issue. this is webconfig and this is angular.json
please help.