Skip to content

lishine/flights

Repository files navigation

Flights

A flight information and suggestions application with multiple deployment targets.

Project Structure

  • /workers - Cloudflare Worker source code for the main API
  • /vercel - Vercel deployment configuration and functions
  • /.github/workflows - GitHub Actions for automated deployment and releases

Deployment

Production

  • Cloudflare Workers: https://flights.vim55k.workers.dev
  • Automatic deployment on push to main branch

Features

  • Automatic version management via GitHub Actions
  • Version format: 1.0.{commit_count}
  • Deployment notifications via Telegram webhook
  • Cloudflare KV storage for metadata

Development

This project uses pnpm as the package manager. To get started:

# Install dependencies
pnpm install

# Install dependencies for workers
cd workers && pnpm install

# Install dependencies for vercel
cd vercel && pnpm install

Code Quality

The project uses Prettier for code formatting:

# Check formatting
pnpm prettier --check .

# Fix formatting
pnpm prettier --write .

Contributing

  1. Make changes on a feature branch
  2. Ensure code is properly formatted
  3. Commit with descriptive messages
  4. Create a pull request for review

About

Keep updated about flights

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors