Skip to content

Commit

Permalink
refactor: graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonpole committed Sep 13, 2024
1 parent 14966d5 commit 6c4acc5
Show file tree
Hide file tree
Showing 14 changed files with 6,574 additions and 1,432 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_GITHUB_TOKEN=
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: npm run build -- --base "$BASE_URL"
env:
BASE_URL: "/${{ github.event.repository.name }}/"
VITE_GITHUB_TOKEN: ${{ secrets.VITE_GITHUB_TOKEN }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
generated/

# Editor directories and files
.vscode/*
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,25 @@

<img src="./public/favicon.svg" alt="LIGA Esports Manager" width="300" height="300" />

This is the website source code for [LIGA Esports Manager](https://lemonpole.github.io/liga-public/).

Uses the following APIs and technologies:

- Node v20.x
- [GitHub GraphQL API](https://docs.github.com/en/graphql)
- [GraphQL Code Generator](https://the-guild.dev/graphql/codegen)
- [Daisy UI](https://daisyui.com/)

## Getting Started

If you'd like to run the website locally in development mode, run the following.
> [!IMPORTANT]
> A [Github Access Token](https://github.com/settings/tokens) is required.
```bash
# set github access token
echo -n "<YOUR_TOKEN_HERE>" >> .env.local

# run the app
npm install
npm run dev -- --host --open
```
Loading

0 comments on commit 6c4acc5

Please sign in to comment.