

# Building a backend for an application
<a name="deploy-backend"></a>

With AWS Amplify you can build a fullstack application with data, authentication, storage, and frontend hosting that is deployed to AWS.

AWS Amplify Gen 2 introduces a TypeScript-based, code-first developer experience for defining backends. To learn how to use Amplify Gen 2 to build and connect a backend to your app, see [Build & connect backend](https://docs.amplify.aws/nextjs/build-a-backend) in the *Amplify docs*. 

If you are looking for the documentation for building a backend for a Gen 1 app, using the CLI and Amplify Studio, see [Build & connect backend](https://docs.amplify.aws/gen1/react/build-a-backend/) in the *Gen 1 Amplify docs*.

**Topics**
+ [Create a backend for a Gen 2 app](build-backend-Gen2.md)
+ [Create a backend for a Gen 1 app](build-backend-Gen1.md)