Giter VIP home page Giter VIP logo

onthemat_backend's Introduction

Onthemat API Server


요가 채용서비스를 위한 API 서버

서버 아키텍처

onthemat

특징

  • fiber & postgreSQL을 활용한 높은 퍼포먼스의 서버
  • 엘라스틱을 활용한 검색어 자동완성 시스템
  • RFC 3986를 준수한 REST API
  • 테스트코드 작성 (unit, mock service logic)
  • jwt토큰인증, oAuth
  • 코드를 생성하는 ORM을 사용하여 컴파일 단계에서 에러 검출.
  • apidocs를 활용하여 API 문서 작성
  • 에러원인을 상세하게 안내하는 에러전달 시스템

시작하기

🙏

로컬

환경

go 1.19.3

docker

redis

postgresSQL

#----------- 준비중 -----------

# make database
make docker_postgres_dev

# orm으로 작성된 repository코드 생성
make generate

# 테스트용 데이터베이스 서버 올리기
make test_up

# 테스트용 데이터베이스 서버 내리기
make test_down

# seeding
make seed

# Mock코드 생성
make mockery

# 실행하기
make run

#document
make apidoc

테스트영상(데모)

last.mov

기타

  • fiber, entGo, elasticSearch를 처음 사용하는 프로젝트입니다.
  • 학습목적으로 작성된 코드입니다.
  • 모듈간의 의존성을 낮추기 위해 노력하였습니다.
  • 참고: 실행파일은 cmd에 있습니다. DTO는 transport에 있습니다.

클라이언트

레포지토리: https://github.com/beardfriend/onthemat_front

onthemat_backend's People

Contributors

beardfriend 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.