Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.15 KB

File metadata and controls

56 lines (36 loc) · 1.15 KB

atcoder-problems-frontend

atcoder-problems-frontend is a web application written in TypeScript.

Prerequisites

Install required packages

yarn

Start the web application on your local machine

yarn start

You can see it on http://localhost:3000/.

Login on the local instance

To log in on your local instance for developing features related to logged in users:

  1. Login at https://kenkoooo.com/atcoder/ and open the developer tools (Press F12).
  2. Go to "Storage" (Mozilla Firefox) / "Application" (Google Chrome) → "Cookies" and copy the cookie value with name token.
  3. Open the local instance of AtCoder Problems in your browser (e.g. http://localhost:3000).
  4. Open the "Cookies" section again and create a cookie named token. Paste the cookie value.

If you intend to use your own instance of backend, consult the backend documentation.

Create a production build

yarn build

Run unit test

yarn test

Run end-to-end test

yarn cy:run

Open Cypress Test Runner

yarn cy:open