Giter Site home page Giter Site logo

2pai / codebase-2pai Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 4.0 45 KB

codebase / boilerplate with design pattern DDD + CQRS based on nodejs

License: GNU General Public License v3.0

JavaScript 98.50% Dockerfile 1.50%
nodejs ddd ddd-architecture cqrs-pattern codebase boilerplate-node backend-api

codebase-2pai's Introduction

codebase-2pai

Codebase / boilerplate with DDD (Domain Driven Development) and Command–query separation (CQRS) based on nodeJS

Framework : ExpressJS

Instalation

Clone This Repository

git clone https://github.com/2pai/codebase-2pai.git

Install Package

npm install

Clone .env file from .env.example and edit

cat .env.example >> .env

Generate Public And Private Key

Private Key
ssh-keygen -t rsa -b 4096 -m PEM -f private.pem
Public Key
openssl rsa -in private.pem -pubout -outform PEM -out public.pub


Usage

Start The Server

npm start

Run Test

npm run test

Run ESLint to fix code

npm run eslint:fix

Feature

Log

Winston

Auth

Basic Auth
JWT Token

Database

MongoDB

Test

Unit Test
Integration Test

Author

© Muhammad Iqbal Syamil ayasy

codebase-2pai's People

Contributors

2pai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

codebase-2pai's Issues

Update V.1.0.1

I will Improve this codebase by adding more feature and delete some feature

  • Add Redis Library

  • Remove Forking

  • Improve dockerfile

  • Add docker-compose.yaml

  • Change bcrypt to bcryptjs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.