Skip to content

A simple template to create Node.js CRUD microservices in Typescript

Notifications You must be signed in to change notification settings

guglielmino/node-crud-template

Repository files navigation

# CRUD Node.js service template

A simple skel intended to develop CRUD microservices with node.

Tech stack:

  • Node.js (14.x and up)
  • Typescript
  • Typeorm

## Design

Design is very simple, it is intended to develop services working with a single entity or entities strictly connected between each other (boundary context).

Below the high level design for the service design.

┌─────────────┬─────────────┐
│             │             │
│   GraphQL   │   REST      │  Presentation Layer
│             │             │
└─────────────┴─────────────┘

┌───────────────────────────┐
│                           │
│       Services            │  Service layer (business)
│                           │
└───────────────────────────┘

┌───────────────────────────┐
│                           │
│       Repositories        │  Data Access Layer
├────────┬────────┬─────────┤
│        │        │         │
│        │        │         │
│        │        │         │
│  MySql │ MongoDB│ Other   │  Database Layer
└────────┴────────┴─────────┘

About

A simple template to create Node.js CRUD microservices in Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published