Categorygithub.com/DevSDK/DFD
modulepackage
0.0.0-20210217154330-1a7f21c91fa9
Repository: https://github.com/devsdk/dfd.git
Documentation: pkg.go.dev

# README

DFD

made-with-Go Docker Image Version (latest by date) Go Report Card

Front-End:

https://devsdk.net/dfd

Repository : https://github.com/DevSDK/DFD-WEB

Stacks : React, Redux, React-Bootstrap, ApexChart, TypeScript, AXIOS

This web service provide League of Legends histories and statistics or crew status for our small group called 'fv".


DFD는 롤팟 'fv'을 위해 League of Legends 승률과 전적을 제공합니다.

Untitled

Untitled 1

Main Feature

  • Game frequency (Like github)
  • Win ratio histories chart
  • Win and Total game count
  • Game Histories List
  • Crew Status (i.e. Today I'll rest)
  • Image server

메인 기능

  • 게임 빈도 (깃헙의 잔디와 같은 그것)
  • 게임모드별 승률 차트
  • 총합 승률 및 게임수
  • 게임 전적
  • 롤팟 게임 있는지 여부
  • 이미지 서버

Getting Started

Setup mongodb and redis server.

You could install with docker:


몽고디비와 Redis 서버가 필요합니다.

도커를 이용해 설치할 수 있습니다.

You must need setup environment variables.


환경변수 설정이 반드시 필요합니다.

Nameexampledescription
DB_LOCATIONlocalhost:27017Mongo DB location
DB_AUTH_IDrootMongo DB Auth Id
DB_AUTH_PASSWORDadminMongo DB Auth Password
REDIS_LOCATIONlocalhost:6379Redis Location
REDIS_PASSWORD1234Redis auth password
SERVER_URIlocalhostserver location
BASE_URL/Base URL for cookie setting
REDIRECT_URLhttp://localhost:3000/authRedirect URL after oauth2 success
DISCORD_API_BASEhttps://discord.com/api/v6Discord API Location
DISCORD_CLIENT_ID12345678910211Discord API client id
DISCORD_REDIRECT_URIhttp://localhost:18020/auth/redirectDiscord Oauth2 redirect location
DISCORD_SCOPESidentify email connectionsDiscord access scopes
DISCORD_SECRET_IDasfipurofu9dias9c891 ....Discord secret code
DFD_SECRET_CODEdfoi1u20cvac801720d7cacs ....Secret code for DFD JWT authentication secret code (Recommended Random Hash)
RIOT_API_URIhttps://kr.api.riotgames.comRiot API Location

1. Using docker https://hub.docker.com/repository/docker/devsdk/dfd-server

2. Install all dependencies & Run

git clone https://github.com/DevSDK/DFD.git
cd DFD
go mod download
go run main.go

API Docs

https://devsdk.net/api/dfd/docs/index.html

Stacks

Untitled 2

Tasks

  • Implement Endpoints
  • Documentation
  • Zero Downtime Deploy
  • Front-End
  • Test
  • CI/CD

For Admin

If you are admin, you could access with authentication:

# Packages

No description provided by the author
No description provided by the author