Home
Softono

Presta

Open source MIT TypeScript
99
Stars
7
Forks
32
Issues
2
Watchers
1 year
Last Commit

 About Presta

Minimalist serverless framework for SSR, SSG, serverless APIs and more.

Platforms

Web Self-hosted

Languages

TypeScript

Need Help Installing Presta?

We provide expert installation service for this software. Our team will install, configure, and secure Presta on your server. plans start at just $30.

Presta

npm version

Minimalist serverless framework.

Features

  • flexible β€” APIs, server-rendered apps, static sites, etc
  • unopinionated β€” build whatever you want
  • no runtime β€” use any frontend framework
  • thin β€” not many features
  • small β€” easy to contribute to
  • extensible β€” simple plugin API
  • future-proof β€” TypeScript + deploy anywhere

Quick Start

Presta is just thin wrapper around AWS-flavored serverless functions + a simple local dev server. Here's a simple Presta file, which you can run right now with npx presta dev index.ts:

// index.ts
import { Handler } from 'presta'

export const route: string = '*'

export const getStaticPaths: string[] = () => {
  return ['/']
}

export const handler: Handler = (ev, ctx) => {
  return {
    statusCode: 200,
    body: `You're looking at path ${ev.path}`,
  }
}

Documentation

Docs can be found here in the repo. For the rest of the ecosystem, see the following READMEs:

Contributing

We'd love your help getting Presta to v1.0.0. Have a look at the contributing doc or say hello in a new Issue. Also please review our code of conduct.

License

MIT License Β© Front of House