Skip to content

erase2004/acgn-stock-museum

Repository files navigation

ACGN Stock Museum

The Museum of ACGN Stock.

This website is built on the results of stock market.

All the pages are static content.


Project Preview

ACGN Museum


This project is currently built on

and boilerplate: astro-preact-typescript-tailwind-boilerplate

Astro React TypeScript Tailwind CSS Playwright Yarn MongoDB


Environemt Variables

Variable name Data type Default value Description
DB_URI string mongodb://127.0.0.1:27017 MongoDB connection string
RUN_ALL_TEST boolean undefined Run all e2e test cases

Usage Guide

  • Project setup

    1. Setup MongoDB, import round databases. Valid database names are list in siteList.
    2. Write environemtn variable config file. Place it in ${project root directory}/.env.
    3. Use yarn install to install package dependencies.
  • Run E2E tests

    • yarn run test:e2e
  • Compiles for production

    • yarn build
  • Lighthouse benchmark

    • For mobile: yarn lh:mobile
    • For desktop: yarn lh:desktop

Todo List

  • Add round 1 to round 5 results
    • Round 1
    • Round 2
    • Round 3
    • Round 4
    • Round 5
  • Add build action to CI/CD pipeline
    • Upload build artifact to external storage. (Due to GitHub quota limit)

License

MIT