Skip to content

Visualize rating changes on AtCoder's virtual contests inspired by Codeforces Anytime.

License

Notifications You must be signed in to change notification settings

KATO-Hiro/EverydayAtCoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EverydayAtCoder

Description

Visualize rating changes on AtCoder's virtual contests inspired by Codeforces Anytime.

DEMO

  • Comming soon.

Features

  • Rating system using virtual contest result(s).

Getting started

  • Comming soon.

Usage

  • Comming soon.

How to clone the repository

Paste the following commands at a Terminal prompt.

$ mkdir hoge
$ cd hoge
$ git clone git@github.com:KATO-Hiro/EverydayAtCoder.git

Set up Firebase in local env

  1. Sign into your Firebase account, and create a project for staging environment.

  2. In the Firebase console, open your staging project, navigate to the "Service accounts" tab, and click "Generate new private key" to download your admin SDK keys.

Note: Your private key (in your service account key file) gives access to your project's Firebase services. Keep it confidential and never store it in a this repository.

  1. Create .env files in frontend.
cd frontend
$ touch .env

Open your editor, filling in your Firebase keys like below.

# .env
# == Firebase app keys (staging) ==
FIREBASE_API_KEY=■■■■■■■■-■■■■■■■■
FIREBASE_AUTH_DOMAIN=■■■■■■■■.firebaseapp.com
FIREBASE_DATABASE_URL=https://■■■■■■■■.firebaseio.com
FIREBASE_PROJECT_ID=■■■■■■■■
FIREBASE_STORAGE_BUCKET=■■■■■■■■.appspot.com
FIREBASE_MESSAGING_SENDER_ID=■■■■■■■■
FIREBASE_APP_ID=1:■■■■■■■■:web:■■■■■■■■
FIREBASE_MEASUREMENT_ID=G-■■■■■■■■

Note that .env* files are in the project's .gitignore, so they won't be checked into this repository.

Paste the following commands at a Terminal prompt.

$ npm install

$ cd frontend
$ yarn firebase login

See

https://github.com/benzguo/nextjs-now-firebase

Debug in your local env

Paste the following commands at a Terminal prompt in your cloned directory.

$ cd frontend
$ yarn dev

Open http://localhost:3000 in your browser.

Requirement

  • Docker Desktop 19+

Backend

  • Comming soon.

Frontend

Hosting

Optional

Links

AtCoder

Readme Driven Development; RDD

Related projects

Codeforces Anytime: Visualize rating changes on Codeforces' virtual contests.

AtCoder Charts: Show a graph of AtCoder's rating and performance.

Author

@KATO-Hiro

License

MIT