ericclemmons / Next.js Conf 2020
From Front-end to Full Stack with Amplify Framework
Stars: ✭ 40
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Next.js Conf 2020
gbkel-portfolio
💎 My personal website that's mainly powered by Next.js, my own style guide and a lot of other technologies.
Stars: ✭ 12 (-70%)
Mutual labels: ssr, nextjs
React Static Tweets
Extremely fast static renderer for tweets.
Stars: ✭ 278 (+595%)
Mutual labels: nextjs, ssr
Next Blog Firestore
Example of blog built with React, Next.js, Firebase Firestore, Styled-Component, Mobx State Tree and other cool technologies
Stars: ✭ 219 (+447.5%)
Mutual labels: nextjs, ssr
React Multi Carousel
A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
Stars: ✭ 544 (+1260%)
Mutual labels: nextjs, ssr
Next Boost
Add a cache layer for server-side-rendered pages with stale-while-revalidate. Can be considered as an implementation of next.js's Incremental Static Regeneration which works with getServerSideProps.
Stars: ✭ 239 (+497.5%)
Mutual labels: nextjs, ssr
React Storefront
Build and deploy e-commerce progressive web apps (PWAs) in record time.
Stars: ✭ 275 (+587.5%)
Mutual labels: nextjs, ssr
React Esi
React ESI: Blazing-fast Server-Side Rendering for React and Next.js
Stars: ✭ 537 (+1242.5%)
Mutual labels: nextjs, ssr
Example Storefront
Example Storefront is Reaction Commerce’s headless ecommerce storefront - Next.js, GraphQL, React. Built using Apollo Client and the commerce-focused React UI components provided in the Storefront Component Library (reactioncommerce/reaction-component-library). It connects with Reaction backend with the GraphQL API.
Stars: ✭ 471 (+1077.5%)
Mutual labels: nextjs, ssr
Firebase Functions Next Example
Host a Next.js SSR React app on Cloud Functions for Firebase with Firebase Hosting
Stars: ✭ 215 (+437.5%)
Mutual labels: nextjs, ssr
Next Go
Production ready blog + boilerplate for Next.js 3.X
Stars: ✭ 254 (+535%)
Mutual labels: nextjs, ssr
Mordred
[Experimental] Source data from anywhere, for Next.js, Nuxt.js, Eleventy and many more.
Stars: ✭ 208 (+420%)
Mutual labels: nextjs, ssr
Nextjs Redux Starter
Next.js + Redux + styled-components + Express = 😇
Stars: ✭ 257 (+542.5%)
Mutual labels: nextjs, ssr
Next Firebase Ssr
An Next.js example repo for building authenticated pages with Firebase Authentication, cookies, and getServerSideProps
Stars: ✭ 192 (+380%)
Mutual labels: nextjs, ssr
React Storefront
React Storefront - PWA for eCommerce. 100% offline, platform agnostic, headless, Magento 2 supported. Always Open Source, Apache-2.0 license. Join us as contributor ([email protected]).
Stars: ✭ 292 (+630%)
Mutual labels: nextjs, ssr
Pizzaql
🍕 Modern OSS Order Management System for Pizza Restaurants
Stars: ✭ 631 (+1477.5%)
Mutual labels: nextjs, ssr
From Front-end to Full Stack – Next.js Conf 2020
This project demonstrates the architecture changes Amplify JS needed to support Next.js, authentication & data-access in a client-side application, and how to move logic to the server for better performance.
Setup
-
Clone this repo
git clone [email protected]:ericclemmons/next.js-conf-2020.git
-
Change into the directory & install the dependencies
cd next.js-conf-2020 yarn install
-
Next, choose your own adventure::
main
)
New Backend (-
Initialize Amplify
amplify init
More details…
$ amplify init ? Enter a name for the project nextjsconf2020 ? Enter a name for the environment dev ? Choose your default editor: Visual Studio Code ? Choose the type of app that you're building javascript Please tell us about your project ? What javascript framework are you using react ? Source Directory Path: src ? Distribution Directory Path: build ? Build Command: npm run-script build ? Start Command: npm run-script start
-
Add Authentication
amplify add auth
More details…
$ amplify add auth Do you want to use the default authentication and security configuration? Default configuration Warning: you will not be able to edit these selections. How do you want users to be able to sign in? Username Do you want to configure advanced settings? No, I am done.
-
Add API
amplify add api
More details…
$ amplify add api ? Please select from one of the below mentioned services: GraphQL ? Provide API name: nextjsconf2020 ? Choose the default authorization type for the API API key ? Enter a description for the API key: ? After how many days from now the API key should expire (1-365): 7 ? Do you want to configure advanced settings for the GraphQL API Yes, I want to make some additional changes. ? Configure additional auth types? Yes ? Choose the additional authorization types you want to configure for the API Amazon Cognito User Pool Cognito UserPool configuration Use a Cognito user pool configured as a part of this project. ? Configure conflict detection? No ? Do you have an annotated GraphQL schema? No ? Choose a schema template: Single object with fields (e.g., “Todo” with ID, name, description)
Next, you'll be prompted to edit your schema:
? Do you want to edit the schema now? Yes
Replace the contents of your editor with the following, then save:
type Post @model # See: https://docs.amplify.aws/cli/graphql-transformer/directives#owner-authorization @auth(rules: [{ allow: owner }, { allow: public, operations: [read] }]) # See: https://docs.amplify.aws/cli/graphql-transformer/directives#how-to-use-key @key(name: "postsBySlug", fields: ["slug"], queryField: "postsBySlug") { id: ID! title: String! slug: String! tags: [String!]! snippet: String! content: String! published: Boolean! }
-
Deploy your backend to the cloud
amplify push
More details…
? Do you want to generate code for your newly created GraphQL API Yes ? Choose the code generation language target javascript ? Enter the file name pattern of graphql queries, mutations and subscriptions src/graphql/**/*.js ? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions Yes ? Enter maximum statement depth [increase from default if your schema is deeply nested] 2
-
Run the app locally
yarn dev
Visit http://localhost:3000/ to view the app!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].