Giter Site home page Giter Site logo

backend's Introduction

backend

codecov

開発

docker-compose up でいろいろ立ち上がる。

  • localhost:3000でAPIサーバー
  • localhost:8080でOpenAPIのドキュメント
  • localhost:6379でredisサーバ
  • localhost:3306でMySQLサーバ

*1 起動に失敗した場合、ポート番号やローカルのMySQLと衝突している 可能性が高いです。

*2 goのコードを編集すると自動で再ビルドが走ります。

masterにpushするとstaging環境へ自動デプロイ

テスト

make unit_tests で単体テスト

make integration_tests で結合テスト

ローカルでカバレッジを見るには

go test -race -v -cover -coverprofile=coverage.o ./...

した後に

go tool cover -html=coverage.o

するとブラウザが立ち上がって、カバレッジの詳細が見られる。

テーブル図

image

タグに関連する設計

マイクロ〜サービス

AWS構成

pinko (3)

backend's People

Contributors

coil398 avatar ryohma0510 avatar maxfie1d avatar dh9489 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.