This is a simple example project showcasing the implementation of a Hexagonal Architecture using ExpressJS, TypeORM, JWT, and TypeScript.
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.
- 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.
- Clone the repository.
- Install the dependencies by running
npm install. - Configure the database connection in the
ormconfig.jsonfile. - Start the application by running
npm start.
- Use the provided API endpoints to interact with the application.
- Refer to the documentation for detailed information on each endpoint.