Skip to content

echorus-KBSC/Echorus_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Echorus Server

Stack

Overview

Schema

Card {
	int id
	String image // echorous.herokuapp.com/card/image/{id}.jpg
	String title
	int category 
	// ['일반' : 0,'대기' : 1,'토양': 2,'해양' : 3,'쓰레기' : 4,'우주' : 5,'방사능' : 6]
	int style 
	// ['환경' : 0,'경제' : 1,'민심' : 2,'재해' : 3]
	String description
	int soil
	int air
	int radio
	int trash
	int ocean
	int approval
	int capital
	int product
}

Achievement {
	int id
	String name
	int success // ['성공': 1, '실패' : 0]
	String description
	int count // 업적 달성한 사람의 수
	int soil
	int air
	int radio
	int trash
	int ocean
	int approval
	int capital
	int product
	int disaster (0,1)
	int universe (0,1)
	int year
}

User{
	int id
	String username
	int soil
	int air
	int radio  
	int trash 
	int ocean 
	int approval 
	int capital 
	int product
	int year 
	int success
        list AchievementList
    
}
AchievementList{
	int id
	int user_id (foriegn key : User)
	int achievement_id
	String username
}
AuthUser{
	int id(auto increment)
	String login_id(unique=True)
	String name(not null)
	bool is_superuser(default=False)
	bool is_staff(default=False)
	bool is_active(default=True)
	Datetime created_at
	Datetime update_at
}

API Docs

카드 관련 API

Card API

업적 관련 API

Achievement API

유저 정보 관련 API

User API

로그인/회원가입 관련 API

Authentication API

배포 과정

Deployment

About

에코러스 서버 레포지토리 입니다

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages