Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tve-cf/blazenote-frontend

Repository files navigation

blazenote (for frontend)

This repository is part of the BlazeHack Workshop Series, designed to help participants build scalable, secure apps using Cloudflare services.

In this workshop, we will be using the following repos:

By completing this workshop, you will have a note taking app fully integrated with image features.

Pre-Workshop Checklist

Before the workshop, make sure you complete the following tasks:

Once you’ve completed the entire checklist, you’re all set for the workshop 🎉

The In-Workshop Activities section outlines tasks to be completed on the day of the workshop as there will be further information provided that day.

In-Workshop Activities

Note

Note that you will be publishing changes to your forked repository, not the original repository.

  1. Fork this repo.
  2. Clone the forked repository.
  3. Switch to starter branch. This branch will be your working environment for the workshop.

Working in Development

  1. Install project dependencies - this only required if this is your first time working on the project:

    npm install
  2. Start the local development server:

    npm run dev

    The app will be accessible at: http://localhost:5173

    This runs Vite with the Cloudflare plugin, which integrates the Workers runtime directly into the Vite dev server. You get hot module reloading and the Workers runtime in a single command.

Deploy app

This app is configured to deploy to Cloudflare Workers. You have two deployment options:

Option 1: Deploy using Wrangler CLI

  1. (Optional) Preview your build locally with the Workers runtime:

    npm run preview
  2. Build and deploy the app:

    npm run deploy

    Or manually:

    npm run build
    wrangler deploy
  3. Your app will be deployed to https://blazenote-frontend.<your-subdomain>.workers.dev

Option 2: Deploy via Git Integration

You can also set up automatic deployments through Cloudflare Workers CI/CD by connecting your GitHub repository to Cloudflare.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published