Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.33 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.33 KB

Full stack boilerplate

This is a boilerplate created with authentication implemented with JWT refresh token strategy in front-end and back-end

Backend

Access backend application

Built with Node.js + typescript + express and using clean architecture concepts trying to ensure SOLID principes

Layers

  • Domain: Models and useCases protocols
  • Application: Business rules implementation
  • Presentation: Implements controllers
  • Infrastructure: external libraries adapters
  • Main: Consolidate all layers

Frontend

Access frontend application

Built with Next.js + typescript with axios interceptors configuration to treat refresh token

Structure

  • Created Auth context to manage user credentials
  • Configured interceptors to deal with expires token and queue requests to be resolved after refresh token if needed

License

This boilerplate is MIT licensed