Git Product home page Git Product logo

timber-sawmill's Introduction

TIMBER SAWMILL

Timber Logo

NOTE: 한국어 설명은 아래에 있습니다.

This project uses NestJS with Typescript and Kafka

If you want to learn more about Timber, please visit its Blog: https://blog.needpainkiller.xyz

Description

Log processing backend service for Timber Framework

Requirements

Installation

npm install

Running the app

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod

Test

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

Build

# Build 
npm run build

Docker

# create ".env" file

## Database (MariaDB)
DB_DIALECT=mariadb
DB_HOST=x.y.z
DB_PORT=3306
DB_NAME=timber-audit
DB_USERNAME=timber
DB_PASSWORD=passwd

## Message Queue (Kafka)
KAFKA_BROKERS=x.x.x.x:9092,y.y.y.y:2909,z.z.z.z:9092
KAFKA_ID=timber-sawmill
KAFKA_GROUP_ID=timber-sawmill-group
# Build Dockerfile
docker build . -t timber-sawmill

# Run Dockerfile
docker container run -d -p 3000:3000 -v ./.env:/var/app/.env nest-docker 

Stay in touch

License

Timber-Sawmill is MIT licensed.

TIMBER SAWMILL

Timber Logo

이 프로젝트는 NestJS, Typescript, Kafka 로 구현되었습니다.

Timber 프로젝트에 더 알고 싶다면 블로그 에 방문 해주세요

Description | 이 프로젝트는....

Timber Sawmill 프로젝트는 Timber 를 위한 API 감사, HTTP 로깅 서비스 입니다.

Requirements | 요구사항

사전 설치

npm install

app 실행

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod

테스트

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

Build

# Build 
npm run build

Docker

# create ".env" file

## Database (MariaDB)
DB_DIALECT=mariadb
DB_HOST=x.y.z
DB_PORT=3306
DB_NAME=timber-audit
DB_USERNAME=timber
DB_PASSWORD=passwd

## Message Queue (Kafka)
KAFKA_BROKERS=x.x.x.x:9092,y.y.y.y:2909,z.z.z.z:9092
KAFKA_ID=timber-sawmill
KAFKA_GROUP_ID=timber-sawmill-group
# Build Dockerfile
docker build . -t timber-sawmill

# Run Dockerfile
docker container run -d -p 3000:3000 -v ./.env:/var/app/.env nest-docker 

Stay in touch

License

Timber-Sawmill is MIT licensed.

timber-sawmill's People

Contributors

needpainkiller avatar

Watchers

 avatar

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.