GithubHelp home page GithubHelp logo

daniakash / astro-cross-deploy Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 160 KB

Cross Platform deployments to Vercel, Netlify & AWS of an astro page

Home Page: astro-cross-deploy.vercel.app

JavaScript 28.54% Astro 48.37% TypeScript 23.09%

astro-cross-deploy's Introduction

Cross platform deployment PoC for Astro

This project is a PoC created to check if an Astro project can be deployed across all edge environments ๏ผ netlify, vercel, deno & cloudflare pages at the same time with same codebase & by only modifying the astro config.

This project has 4 routes:

  • / - static html page
  • /todos - SSR page
  • /edge.json - plain api route
  • /todoData.json - api route that uses fetch api

Deployed app:

Vercel:

Netlify:

Cloudflare Pages:

Deno Deploy:

Astro config

This project uses ci-info to detect the CI/CD & use the appropriate adapter for the deployment target. Refer config file

astro-cross-deploy's People

Contributors

daniakash avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.