├── .dockerignore ├── .github └── workflows │ └── docker.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── docker-compose.yml ├── fly.toml ├── go.mod ├── go.sum ├── main.go └── pkg ├── action_comment.go ├── auth.go ├── cleanup_users.go ├── convert_response.go ├── error.go ├── fill_test_data.go ├── mask.go ├── models ├── badge.go ├── comment.go ├── comment_action.go ├── model.go ├── post.go ├── post_action.go ├── ring.go └── user.go ├── pagination.go ├── platform └── auth │ └── auth.go ├── posts_create.go ├── rc_comments.go ├── reddit_compat ├── comments.go ├── kind_data.go ├── listing.go ├── post.go ├── reddit_test.go ├── subreddit.go └── subreddit_details.go ├── reddit_convert.go ├── reddit_short_types.go ├── repo_comments.go ├── repo_comments_test.go ├── repo_posts.go ├── repo_posts_votes.go ├── repo_ring.go ├── repo_rings.go ├── repo_rings_search.go ├── repo_rings_test.go ├── repo_users.go ├── repository.go ├── request ├── comment.go ├── create_ring.go └── post_create.go ├── response ├── paginated.go └── post.go ├── ring_about.go ├── route_index.go ├── route_post.go ├── route_rings.go ├── routes.go ├── server.go ├── server_post.go ├── test_utils.go └── validation.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /resources/reddit -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /fly.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/fly.toml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/main.go -------------------------------------------------------------------------------- /pkg/action_comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/action_comment.go -------------------------------------------------------------------------------- /pkg/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/auth.go -------------------------------------------------------------------------------- /pkg/cleanup_users.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/cleanup_users.go -------------------------------------------------------------------------------- /pkg/convert_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/convert_response.go -------------------------------------------------------------------------------- /pkg/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/error.go -------------------------------------------------------------------------------- /pkg/fill_test_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/fill_test_data.go -------------------------------------------------------------------------------- /pkg/mask.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/mask.go -------------------------------------------------------------------------------- /pkg/models/badge.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/badge.go -------------------------------------------------------------------------------- /pkg/models/comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/comment.go -------------------------------------------------------------------------------- /pkg/models/comment_action.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/comment_action.go -------------------------------------------------------------------------------- /pkg/models/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/model.go -------------------------------------------------------------------------------- /pkg/models/post.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/post.go -------------------------------------------------------------------------------- /pkg/models/post_action.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/post_action.go -------------------------------------------------------------------------------- /pkg/models/ring.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/ring.go -------------------------------------------------------------------------------- /pkg/models/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/models/user.go -------------------------------------------------------------------------------- /pkg/pagination.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/pagination.go -------------------------------------------------------------------------------- /pkg/platform/auth/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/platform/auth/auth.go -------------------------------------------------------------------------------- /pkg/posts_create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/posts_create.go -------------------------------------------------------------------------------- /pkg/rc_comments.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/rc_comments.go -------------------------------------------------------------------------------- /pkg/reddit_compat/comments.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_compat/comments.go -------------------------------------------------------------------------------- /pkg/reddit_compat/kind_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_compat/kind_data.go -------------------------------------------------------------------------------- /pkg/reddit_compat/listing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_compat/listing.go -------------------------------------------------------------------------------- /pkg/reddit_compat/post.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_compat/post.go -------------------------------------------------------------------------------- /pkg/reddit_compat/reddit_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_compat/reddit_test.go -------------------------------------------------------------------------------- /pkg/reddit_compat/subreddit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_compat/subreddit.go -------------------------------------------------------------------------------- /pkg/reddit_compat/subreddit_details.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_compat/subreddit_details.go -------------------------------------------------------------------------------- /pkg/reddit_convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_convert.go -------------------------------------------------------------------------------- /pkg/reddit_short_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/reddit_short_types.go -------------------------------------------------------------------------------- /pkg/repo_comments.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_comments.go -------------------------------------------------------------------------------- /pkg/repo_comments_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_comments_test.go -------------------------------------------------------------------------------- /pkg/repo_posts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_posts.go -------------------------------------------------------------------------------- /pkg/repo_posts_votes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_posts_votes.go -------------------------------------------------------------------------------- /pkg/repo_ring.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_ring.go -------------------------------------------------------------------------------- /pkg/repo_rings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_rings.go -------------------------------------------------------------------------------- /pkg/repo_rings_search.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_rings_search.go -------------------------------------------------------------------------------- /pkg/repo_rings_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_rings_test.go -------------------------------------------------------------------------------- /pkg/repo_users.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repo_users.go -------------------------------------------------------------------------------- /pkg/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/repository.go -------------------------------------------------------------------------------- /pkg/request/comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/request/comment.go -------------------------------------------------------------------------------- /pkg/request/create_ring.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/request/create_ring.go -------------------------------------------------------------------------------- /pkg/request/post_create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/request/post_create.go -------------------------------------------------------------------------------- /pkg/response/paginated.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/response/paginated.go -------------------------------------------------------------------------------- /pkg/response/post.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/response/post.go -------------------------------------------------------------------------------- /pkg/ring_about.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/ring_about.go -------------------------------------------------------------------------------- /pkg/route_index.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/route_index.go -------------------------------------------------------------------------------- /pkg/route_post.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/route_post.go -------------------------------------------------------------------------------- /pkg/route_rings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/route_rings.go -------------------------------------------------------------------------------- /pkg/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/routes.go -------------------------------------------------------------------------------- /pkg/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/server.go -------------------------------------------------------------------------------- /pkg/server_post.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/server_post.go -------------------------------------------------------------------------------- /pkg/test_utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/test_utils.go -------------------------------------------------------------------------------- /pkg/validation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rings-social/backend/HEAD/pkg/validation.go --------------------------------------------------------------------------------