Example project of Typescript, TypeORM, Graphql, Sqlite, Docker etc.
- nodejs [https://nodejs.org/en/download/package-manager/]
- Docker
- Git
Run following commands
- git clone [email protected]:ahsan-codejit/typescript-express-mongodb.git
- cd typescript-typeorm-graphql
- docker build -t : <path/to/directory>
- docker run -d --name -p 8001:8001 :
- npm install
- npm start
- npm run start:dev (dev mood)
Test commands are
- npm test
- npm run test:coverage:watch (for test and coverage with watch)
- npm run test:coverage (for test and coverage)
server will start with default 8001 port on url http://localhost:8001