This is a basic Hello World Encore application with a single API endpoint
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
# Run the app
encore run
To see that your app is running, you can ping the API.
curl http://localhost:4000/hello/World
While encore run
is running, open http://localhost:9400/ to view Encore's local developer dashboard.
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!
encore test ./...