Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/map #17

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/stardustclient.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 95 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions apis/service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import axios from "axios";

// export const getToken = () => localStorage.getItem('access_token') ?? null

export const statDustAPI = axios.create({
baseURL: 'https://star-dust.shop',
headers: {
accept: "application/json",
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
// "ACCESS-TOKEN": getToken() ?? ''
},
});

export async function getDusts(university) {
return await statDustAPI.get(`/map/${university}`)
}

export async function postcatchedDust() {
return await statDustAPI.post(`/catch/dust`,{dustNum})
}
2 changes: 2 additions & 0 deletions constant/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const totalText =
"악동 우주먼지들이 등장했어요!\n\n이 작고 귀여운 친구들은 보기와 다르게 아주 괴팍한 취미를 가지고 있어요\n\n바로 축제만 열렸다 하면 나타나서 축제를 아주 쑥대밭으로 만든다는 것이죠!\n\n더 개판이 되기 전에 이 우주먼지들을 잡아서 대동제를 지켜주세요!\n\n최강우주전사 아카데미 숭실대학교 친구들이라면 이 악동들을 손쉽게 잡을 수 있을거에요\n\n사례는 섭섭치 않게 할게요!그럼 모두 행운을 빌어요";
Binary file added image/img-dust-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading