Skip to content

igor-toporet/clean-arch-in-node

Repository files navigation

Introduction

An example of Clean Architecture principles applied to a REST API back-end service in Node.js and TypeScript.

Getting Started

Build and Test

  1. npm i (shorthand for npm install)
  2. Create a PostgreSQL database "clean-arch-demo"
  3. Setup connection details in src/Gateways/PostgreSQL/Bootstrap.ts
  4. Hit F5 from VSCode or npm start
  5. Make API calls with your REST client of choice (https://www.postman.com/ or https://insomnia.rest/)
    • or use the REST Client VSCode extension (you'll be prompted to install it on the very first workspace load)
    • go to rest-client top-level folder and look at any of the .http files

Contribute

Send us pull requests 😄

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published