Code Monkey home page Code Monkey logo

amplify-next-template's Introduction

AWS Amplify Next.js (App Router) Starter Template

This repository provides a starter template for creating applications using Next.js (App Router) and AWS Amplify, emphasizing easy setup for authentication, API, and database capabilities.

Overview

This template equips you with a foundational Next.js application integrated with AWS Amplify, streamlined for scalability and performance. It is ideal for developers looking to jumpstart their project with pre-configured AWS services like Cognito, AppSync, and DynamoDB.

Features

  • Authentication: Setup with Amazon Cognito for secure user authentication.
  • API: Ready-to-use GraphQL endpoint with AWS AppSync.
  • Database: Real-time database powered by Amazon DynamoDB.

Deploying to AWS

For detailed instructions on deploying your application, refer to the deployment section of our documentation.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

amplify-next-template's People

Contributors

dependabot[bot] avatar jay2113 avatar josefaidt avatar renebrandel avatar swaminator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

amplify-next-template's Issues

support pnpm

when I use this template, I changed npm to pnpm, and added

- curl -fsSL https://get.pnpm.io/install.sh | sh -
- source /root/.bashrc

to amplify.yml's backend.phases.build.command

but it gives error tsx: command not found:

024-06-09T14:18:56.442Z [INFO]: # Executing command: npx ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID

105

2024-06-09T14:19:04.531Z [INFO]:

106

2024-06-09T14:19:09.712Z [INFO]:

107

2024-06-09T14:19:09.718Z [INFO]: UnknownFault: Error: sh: line 1: tsx: command not found

108

�[31mSubprocess exited with error 127�[39m

109

Cause: sh: line 1: tsx: command not found

110

�[31mSubprocess exited with error 127�[39m

111

2024-06-09T14:19:09.718Z [WARNING]: ampx pipeline-deploy

112

Command to deploy backends in a custom CI/CD pipeline. This command is not inten

113

ded to be used locally.

114

Options:

115

--debug Print debug logs to the console [boolean] [default: false]

116

--help Show help [boolean]

117

--branch Name of the git branch being deployed [string] [required]

118

--app-id The app id of the target Amplify app [string] [required]

119

--outputs-out-dir A path to directory where amplify_outputs is written. If no

120

t provided defaults to current process working directory.

121

[string]

122

--outputs-version Version of the configuration. Version 0 represents classic

123

amplify-cli config file amplify-configuration and 1 represe

124

nts newer config file amplify_outputs

125

[string] [choices: "0", "1"] [default: "1"]

126

2024-06-09T14:19:09.719Z [INFO]: UnknownFault: Error: sh: line 1: tsx: command not found

127

�[31mSubprocess exited with error 127�[39m

128

2024-06-09T14:19:09.719Z [INFO]: Cause: sh: line 1: tsx: command not found

129

�[31mSubprocess exited with error 127�[39m

130

2024-06-09T14:19:09.821Z [ERROR]: !!! Build failed

131

2024-06-09T14:19:09.821Z [INFO]: Please read more about Amplify Hosting's support for SSR frameworks to find if your build failure is related to an unsupported feature: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-ssr-framework-support.html. You may also find this troubleshooting guide useful: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-deployment.html

132

2024-06-09T14:19:09.822Z [ERROR]: !!! Error: Command failed with exit code 1

Maybe can add support for pnpm and yarn as well?

Tagespläne nach Kontext getrennt erstellen

Bisher wird nur ein Tagesplan erstellt und dieser gilt für alle Kontexte. Das sieht eigenartig aus, wenn man versucht, für nächsten Montag einen Plan für die Arbeit zu erstellen und man das ganze Woche im Kontext Familie oder Hobby daran erinnert wird.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.