-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to work with new version - Typeorm not working #2
Comments
Yes you can create Pull request :) |
new things incorporated: 1. Prettier has been introduced on the server side, so automatically it can call prettier once the git commit is invoked. 2. link module alias has been introduced. 3. Typeorm has been introduced. This project is dependent on SQL Server, however can be replaced with any of the available DB type. THe table must contain a table called Employee with the following columns as specified in the Entity / Employee.ts on hitting the url http://localhost:3000 we can on the server side that TOTAL USERS = <NO OF RECORDS> in the table is printed.
Originally this repository is just here to showing React with Ts.ED. Not to show TypeORM ^^ (there is a specific repo for that). See you ;) |
It's being used. If we load the react front page a console message is displayed in the server logs, telling the no of employees present in the database. The code is present in 62-65 line in CalendarServive ts |
So sorry that I had integrate it here. If you don't want it here we can create another icon on tsed.io mentioning react n typeorm integration. |
No worries @panbhatt ^^ |
Thanks. Originally I thought it would be good to integrate typeorm with react as react boilerplate is too old and not working with typeorm tsed new release version. Anywhere I can help would be a pleasure. |
Yep you've right :) and it's good idea. I think the example should be really better if it use only the database instead of mocked data with MemoryService. I totally missed the line where the employee number is checked ^^. On the TypeORM example I added an integration test example. I hope this example will help you^^ |
Sure. I can do one react typeorm with sqlite demo replacing memory service with entity repository. And take typeorm integration test case example from other repo. Question will it be a new repo or pull request to another repo. |
Keep on this repo ;) |
Hi Team,
this boilerplate seems not be working after we integrated TYPEORM in the project. Let me know, if i can do a pull request or create a new repository with React/TypeORM.
The text was updated successfully, but these errors were encountered: