Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.2 KB

File metadata and controls

52 lines (34 loc) · 1.2 KB

atcoder-problems-frontend

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

Start the web application on your local machine

docker-compose up -d

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.

This project uses pnpm as its package manager (Node.js 24; see .nvmrc).

pnpm install

Create a production build

pnpm run build

Run unit test

pnpm test

Run end-to-end test

pnpm run cy:run

Open Cypress Test Runner

pnpm run cy:open