Skip to content

Backend written with pure NodeJS and TypeScript to practice some design patterns: N-Layer, Repository, Factory, Dependency Injection.

Notifications You must be signed in to change notification settings

kastorcode/web-api-nodejs-nlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web API NodeJS with N-Layer Architecture

👷 Developed by Matheus Ramalho de Oliveira
🔨 Brazilian Software Engineer
🏡 Goiânia, Goiás, Brasil
✉️ kastorcode@gmail.com
👍 instagram.com/kastorcode


NodeJS backend written with TypeScript to practice design patterns: N-Layer (structure), Repository (data access), Factory and Dependency Injection (instance generation). Paradigms were also used such as: Clojures, Middlewares and Async Iterators.


Installation and execution

  1. Make a clone of this repository;
  2. Open the project folder in a terminal;
  3. Run yarn to install dependencies;
  4. Run yarn build to transpile TypeScript, resolve paths and copy files to build folder;
  5. Run yarn dev to start the development server at port 3000;
  6. Now you can import the res/insomnia.json file into Insomnia and make HTTP requests.

<kastor.code/>