Skip to content

Repository files navigation

Hyse Comics

Hyse Comics logo featuring a green illustrated emblem beside the wordmark.

Hyse Comics is an application for reading comics.

🛠️ Built with

🚀 Getting started

Follow the steps below to set up and run the project in your local environment.

Before you begin, make sure Node.js and pnpm are installed at the versions specified in .nvmrc and the packageManager field of package.json, respectively.

  1. Clone the repository:

    Open your terminal and run the following command:

    git clone https://github.com/luckasnix/hyse-comics-web.git
  2. Navigate to the project directory:

    cd hyse-comics-web
  3. Install dependencies:

    pn install --frozen-lockfile
  4. Run the development server in the local Workers runtime:

    pn dev
  5. Open in your browser:

    Open http://localhost:3001 in your browser to view the result.

🧪 Testing

Tests use Vitest with Browser Mode and Playwright for browser-dependent behavior in Chromium. Browser-independent tests run directly in Node.js.

After installing the project dependencies, install Chromium once:

pn exec playwright install chromium

Run the test suite once:

pn test

Start Vitest in watch mode while developing:

pn test:watch

Generate the coverage report:

pn test:coverage

📦 Production preview

Build the Worker and its static assets:

pn build

Preview the production build in the local Workers runtime:

pn preview

For deployment validation, publishing, custom domains, and automatic deployments, see the deployment guide.

📄 License

Licensed under the PolyForm Shield License 1.0.0.

Contributors

Languages