https://github.com/karatakis/typegraphql-template
https://github.com/karatakis/typegraphql-template
graphql jwt mikroorm nodemailer template typegraphql typescript
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/karatakis/typegraphql-template
- Owner: karatakis
- License: mit
- Created: 2020-12-29T11:57:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-29T12:19:46.000Z (over 4 years ago)
- Last Synced: 2024-12-31T01:41:42.839Z (4 months ago)
- Topics: graphql, jwt, mikroorm, nodemailer, template, typegraphql, typescript
- Language: TypeScript
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Typescript graphql template
A project template I use in various projects of mine.
The API is in graphql with mikro-orm integrated.
It includes a basic authentication API with email support.## Features
* linting
* testing
* graphql
* orm
* transactions
* authentication
* JWT
* typescript
* queues## Getting started
1. `yarn install`
2. `cp .env.example .env`
3. modify `.env` file
4. `yarn mikro-orm migration:up`
5. `yarn start`## Testing
1. `yarn install`
2. `cp .env.example .env.test`
3. modify `.env.test` file
5. `yarn test`## TODO
* Captcha at UserResolver
* Add serviceAddress to MailJob
* Use html template engines for mails
* configure nodemailer