stephenwithav / examples

Example projects for Encore – https://encore.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

encore icon

Encore examples
Examples to help you build fully-functioning, scalable, backend applications using Encore.

Example applications

Example Description Primitives Requirements
hello-world Simple REST API APIs -
slack-bot Slack bot APIs -
url-shortener Basic url shortener APIs, SQL Database Docker
uptime Uptime monitoring system Microservices, SQL Databases, Pub/Sub, Cron Jobs Docker
trello-clone Backend for a Trello application Microservices, APIs, SQL Database Docker
graphql Url shortener that uses GraphQL APIs, SQL Database, GraphQL Docker
sql-database Simple API with SQL database APIs, SQL Database Docker
sqlc-database Simple sqlc implementation APIs, SQL Database sqlc, Docker

Installing Encore

If this is the first time you're using Encore, you first need to install the CLI that runs the local development environment. Follow the installation instructions in the documentation, or get started with the Quick Start Guide.

Running examples

Each sub-folder in this repo contains an example application that you can use to try out Encore.

To run the example applications, either clone this repository and run encore run in one of the subdirectories, or use encore app create [app-name] --example=[example-name] to create your own app based on the example.

For example, to create an app based on the sql-database example:

$ encore app create my-app --example=sql-database
Successfully created app my-app.
$ cd my-app
$ encore run
Running on http://localhost:4000
8:00AM INF registered endpoint endpoint=There service=hello

Build from scratch with tutorials

If you prefer to build one of the examples from scratch, check out the tutorials available in the Encore documentation.

About

Example projects for Encore – https://encore.dev

License:MIT License


Languages

Language:Go 58.9%Language:TypeScript 40.1%Language:HTML 0.4%Language:JavaScript 0.4%Language:CSS 0.1%