Skip to content

ryuto-imai/firestore_clean_architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firestore_clean_architecture

firestore + echo + wire + clean architecture をGoで作ってみました

起動手順

  1. firestoreからCredentialsFileを取得し、firestore_clean_architectureフォルダ直下に配置

  2. こちらのコード部分を上記で取得したファイル名に差し替え

  3. go run .で起動

API仕様

http://localhost:8000/users

  • GET: 全ユーザーデータの取得

  • POST: ユーザーデータの追加

    • Body例:
    {
        "name": "test",
        "age": 25,
        "address": "tokyo"
    }
    

About

firestore + echo + wire + clean architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages