Steps to run this project:
- Run
npm i
command - Setup database settings inside
ormconfig.json
,"ssl": true,
file - Run
npm run dev
command "# maya-finance-api-v2" - In this project we are handeling our database through Directus cms ...So pls go through directus docs and understand how directus works
- There are many issue raised on directus github page pls go through
https://github.com/directus/directus/discussions
- We are using Typeorm as we are using TypeScript so Typeorm is best suited for TypeScript Project,Typeorm follows same path as popular ORM like Hibernate,Entity Framework.
- usefull resources :
https://stackoverflow.com/search?q=directus
https://orkhan.gitbook.io/typeorm/docs/data-source-options
https://medium.com/directus
8.TypeOrm with Express :https://orkhan.gitbook.io/typeorm/docs/example-with-express
https://github.com/terracefi/typeorm