Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Frontend of the website for the posts related to Dragalia Lost.

License

Notifications You must be signed in to change notification settings

RaenonX-DL/dragalia-site-front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dragalia-site-front

front-time-badge

CI

Main Dev
front-ci-main front-ci-dev

CD

front-cd

Site Status

front-site-status front-site-response

front-site-day front-site-week front-site-month

These refresh every 5 minutes.

Code Quality

front-lgtm-alert-badge front-lgtm-quality-badge front-lgtm-loc-badge

Main Dev
front-grade-badge-main front-grade-badge-dev
front-coverage-badge-main front-coverage-badge-dev

Frontend of Dragalia Lost info website by OM.

Environment Variables

Name Required/Optional Description
NEXT_PUBLIC_API_ROOT Required Root URL of the backend. This should not end with a slash (/).
NEXT_PUBLIC_RESOURCE_ROOT Required Root URL of the exported resources. This should not end with a slash (/).
NEXT_PUBLIC_DEPOT_ROOT Required Root URL of the data depot. This should not end with a slash (/).
NEXT_PUBLIC_AUDIO_ROOT Required Root URL of the audio depot. This should not end with a slash (/).
NEXT_PUBLIC_GA_ID Optional Google AdSense client ID. The ads feature won't work if this is not specified.
NEW_RELIC_LICENSE_KEY Optional New Relic license key for measuring the application performance.
AUTH_DATABASE_URL Required MongoDB URL for next-auth.
AUTH_GOOGLE_ID Optional Google client ID for next-auth.
AUTH_GOOGLE_SECRET Optional Google client secret for next-auth.
AUTH_DISCORD_ID Optional Discord client ID for next-auth.
AUTH_DISCORD_SECRET Optional Discord client secret for next-auth.
AUTH_GITHUB_ID Optional GitHub client ID for next-auth.
AUTH_GITHUB_SECRET Optional GitHub client secret for next-auth.
AUTH_TWITCH_ID Optional Twitch client ID for next-auth.
AUTH_TWITCH_SECRET Optional Twitch client secret for next-auth.
CI Optional A truthy value (for example, true or 1 indicates that the app is running in CI.
PORT Optional Port to run the app. The app runs on 3000 if this is not specified.

For the current deployed website, NEXT_PUBLIC_API_ROOT is https://dl-back.raenonx.cc.

In general,

NEXT_PUBLIC_RESOURCE_ROOT is https://raw.githubusercontent.com/RaenonX-DL/dragalia-site-resources/main, where stores the parsed data.

Check https://github.com/RaenonX-DL/dragalia-site-resources for all available resources.

NEXT_PUBLIC_DEPOT_ROOT is https://raw.githubusercontent.com/RaenonX-DL/dragalia-data-depot/main, where stores the dumped game assets.

Check https://github.com/RaenonX-DL/dragalia-data-depot for all available resources.

NEXT_PUBLIC_AUDIO_ROOT is https://raw.githubusercontent.com/RaenonX-DL/dragalia-data-audio/main, where stores the dumped audio files.

Check https://github.com/RaenonX-DL/dragalia-data-audio for all available resources.