Skip to content

jamolpe/fastify-cognito-template

Repository files navigation

fastify-cognito-template

Template to work with cognito auth users

Stack

Usage

In order to have this project running you need a .env file (or environment variables in current instance) with cognito configuration. Local env can run with a "static" user auth that does not consume cognito

Folders

  • Config -> configuration files
  • Controllers -> application rest functions
  • Core -> application core logic
  • Helpers -> common application helpers
  • Middlewares -> application middlewares
  • Models -> application common models
  • Routes -> public and private routes definition
  • Services -> external data providers (databases or external apis)
  • server.ts -> entry point

To contribute

This project uses commitlint and husky to maintain best practices in commits, we use the conventional commits specification

eslint is configured to maintain best practices in code and prettier to have the same structure

About

Fastify template for cognito

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published