gpeixe / Clean-Node-Api

Node.JS API using Typescript, TDD, DDD, Clean Architecture e SOLID

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean Node API

APIs

  1. Sign Up
  2. Login
  3. Create Survey
  4. List Surveys
  5. Answer survey
  6. Get survey result

Principles

  • Single Responsibility Principle (SRP)
  • Open Closed Principle (OCP)
  • Liskov Substitution Principle (LSP)
  • Interface Segregation Principle (ISP)
  • Dependency Inversion Principle (DIP)
  • Separation of Concerns (SOC)
  • Don't Repeat Yourself (DRY)
  • You Aren't Gonna Need It (YAGNI)
  • Keep It Simple, Silly (KISS)
  • Composition Over Inheritance
  • Small Commits

Design Patterns

  • Factory
  • Adapter
  • Composite
  • Decorator
  • Proxy
  • Dependency Injection
  • Abstract Server
  • Composition Root
  • Builder
  • Singleton

Methodologies and Designs

  • TDD
  • Clean Architecture
  • DDD
  • Conventional Commits
  • GitFlow
  • Modular Design
  • Dependency Diagrams
  • Use Cases
  • Continuous Integration
  • Continuous Delivery
  • Continuous Deployment

Libraries and tools

  • NPM
  • Typescript
  • Git
  • Docker
  • Jest
  • MongoDb
  • Travis CI
  • Swagger
  • Bcrypt
  • JsonWebToken
  • Faker
  • Coveralls
  • Validator
  • Express
  • Apollo Server Express
  • Graphql
  • Graphql ISO Date
  • Supertest
  • Husky
  • Lint Staged
  • Eslint
  • Standard Javascript Style
  • Sucrase
  • Nodemon
  • Rimraf
  • In-Memory MongoDb Server
  • MockDate
  • Module-Alias
  • Copyfiles
  • Npm Check
  • Bson ObjectId
  • Apollo Server Integration Testing

Node Features

  • REST API with Express
  • GraphQL com Apollo Server
  • Security (Hashing, Encryption and Encoding)
  • CORS
  • Middlewares
  • ACLS (Admin, User and anonymou)
  • Deploy
  • Static Files

GraphQL Features

  • Types
  • Queries
  • Mutations
  • Resolvers
  • Directives
  • Scalars
  • Plugins

Git Features

  • Alias
  • Log Personalizado
  • Branch
  • Reset
  • Amend
  • Tag
  • Stash
  • Rebase
  • Merge

Typescript Features

  • Advanced OOP
  • Interface
  • TypeAlias
  • Namespace
  • Utility Types
  • Config
  • Build
  • Deploy

Tests

  • Unit Tests
  • Integration tests (API Rest & GraphQL)
  • Test Doubles
  • Mocks
  • Stubs
  • Spies
  • Fakes

MongoDB Features

  • Connect and Reconnect
  • Collections
  • InsertOne and InserMany
  • Find, FindOne e FindOneAndUpdate
  • DeleteMany
  • UpdateOne
  • Aggregation (Match, Group, Unwind, Lookup, AddFields, Project, Sort)
  • ObjectId
  • Upsert and ReturnOriginal
  • Push, Divide, Multiply, ArrayElemAt, Cond, Sum
  • Filter, Map, Reduce, MergeObjects, ConcatArrays

About

Node.JS API using Typescript, TDD, DDD, Clean Architecture e SOLID


Languages

Language:TypeScript 99.0%Language:Shell 0.6%Language:JavaScript 0.4%