auth-ts-boilerplate icon indicating copy to clipboard operation
auth-ts-boilerplate copied to clipboard

Boilerplate for auth using Type-graphql, typeORM, Postgres and Redis

Auth Boilerplate

Features

  • Eslint/Prettier configured
  • Dockerized
  • Organized file structure
  • Easy to customize
  • Fully typed

Prerequisites

Locally

  1. Grab the env variables to speed up the process
  2. Install Docker
  3. Install dependencies by running yarn
  4. Run yarn docker:compose
  5. Run yarn docker:migration:up
  6. Run yarn watch
  7. Open localhost:3000/api

Deploying to a VPS or Cloud service

TBD

Built with

  • TypeScript
  • TypeORM
  • Type-graphql
  • Apollo server
  • Sendgrid
  • And these useful of JavaScript libraries package.json

License

This project is licensed under the MIT License - see the LICENSE.md file for more details

Contributors

Credits

This boilerplate was bootstraped with help of my friend: https://github.com/JefferyHus