Skip to content

Latest commit

 

History

History

nestjs

NestJS + Encore Example

This is an Encore.ts + NestJS example. It's a great way to learn how to combine Encore's backend capabilities with a modern web framework — perfect for building a web app.

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=ts/nestjs

Running locally

encore run

You can also access Encore's local developer dashboard on http://localhost:9400/ to view traces, API documentation, and more.

Deployment

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

git add -A .
git commit -m 'Commit message'
git push encore

Then head over to the Cloud Dashboard to monitor your deployment and find your production URL.

From there you can also connect your own AWS or GCP account to use for deployment.

Now off you go into the clouds!