Skip to content

sarunnut1236/HexagonalArchitectureExpressJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexagonal Architecture ExpressJS Example

This is a simple example project showcasing the implementation of a Hexagonal Architecture using ExpressJS, TypeORM, JWT, and TypeScript.

Introduction

Hexagonal Architecture, also known as Ports and Adapters Architecture, is a software design pattern that promotes loose coupling and separation of concerns. It allows for the creation of highly modular and testable applications.

Features

  • ExpressJS: A fast and minimalist web framework for Node.js.
  • TypeORM: An Object-Relational Mapping (ORM) library for TypeScript and JavaScript.
  • JWT: JSON Web Tokens for secure authentication and authorization.
  • TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.

Getting Started

  1. Clone the repository.
  2. Install the dependencies by running npm install.
  3. Configure the database connection in the ormconfig.json file.
  4. Start the application by running npm start.

Usage

  • Use the provided API endpoints to interact with the application.
  • Refer to the documentation for detailed information on each endpoint.

About

Learning the hexagonal architecture using expressjs typeorm postgresql

Topics

Resources

Stars

Watchers

Forks