Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1013 Bytes

README.md

File metadata and controls

49 lines (30 loc) · 1013 Bytes

Encore - The Backend Development Engine

Hello World

This is a basic Hello World Encore application with a single API endpoint

Developing locally

When you have installed Encore, you can create a new Encore application and clone this example with this command.

encore app create my-app-name --example=hello-world

Running

# Run the app
encore run

Using the API

To see that your app is running, you can ping the API.

curl http://localhost:4000/hello/World

Open the developer dashboard

While encore run is running, open http://localhost:9400/ to view Encore's local developer dashboard.

Deployment

Deploy your application to a staging environment in Encore's free development cloud.

git push encore

Then head over to https://app.encore.dev to find out your production URL, and off you go into the clouds!

Testing

encore test ./...