rsnext/examples
Kevin Jennison 34f1aefa4a Add example: with-firebase-authentication-serverless (#10078)
* Start from existing example

* Upgrade some dependencies

* Use dotenv

* Remove custom server

* Add serverless Firebase auth

* Add TODOs

* Update project name

* Fix build script

* Remove server middleware from client JS bundle

* Add logout functionality

* Redirect to auth page on logout

* Remove TODO

* Add comments about the cookie-session approach

* Remove the sessions folder

* Add comments for eslint

* Remove unused files

* Clarify comment

* Update README.md

* Rename variable for clarity

* Update README.md

* Change some comments

* Add more to gitignore

* Remove the bundle analyzer

* Move server-side auth user logic from _app.js to a HOC to support static HTML rendering

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 16:12:48 -05:00
..
active-class-name Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
amp Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
amp-first Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
amp-story Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
analyze-bundles Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
api-routes Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
api-routes-apollo-server-and-client Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
api-routes-graphql Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
api-routes-micro Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
api-routes-middleware Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
api-routes-rest Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
auth0 Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
basic-css Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
basic-export Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
blog-starter Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-charset Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-actionhero Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-express Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-fastify Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-hapi Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-koa Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-micro Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-nodemon Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-polka Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-reasonml Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
custom-server-typescript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
data-fetch Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
dynamic-routing Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
form-handler Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
gh-pages Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
head-elements Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
hello-world Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
layout-component Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
nested-components Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
only-client-render-external-dependencies Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
page-transitions Remove page-transitions example 2018-05-25 14:19:40 +02:00
parameterized-routing Remove the parameterized-routing example (#9297) 2019-11-07 10:06:35 -08:00
progressive-render Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
shared-modules Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
ssr-caching Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
svg-components Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
using-nerv Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
using-preact Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
using-router Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
using-with-router Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-absolute-imports Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-algolia-react-instantsearch Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-ant-design Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-ant-design-less Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-antd-mobile Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-aphrodite Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-apollo Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-apollo-and-redux Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-apollo-and-redux-saga Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-app-layout Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-asset-imports Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-astroturf Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-aws-amplify Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-aws-amplify-typescript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-babel-macros Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-carbon-components Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-carlo Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-cerebral Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-chakra-ui Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-cloud9 Update remaining examples to latest Next.js 2019-07-08 19:37:58 -04:00
with-componentdidcatch Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-configured-preset-env Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-context-api Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-cookie-auth Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-cookie-auth-fauna Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-custom-babel-config Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-custom-reverse-proxy Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-cxs Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-data-prefetch Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-docker Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-dotenv Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-draft-js Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-dynamic-app-layout Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-dynamic-import Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-electron Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-electron-typescript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-emotion Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-emotion-fiber Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-env-from-next-config-js Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-external-styled-jsx-sass Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-fela Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-firebase-authentication chore(examples): Update firebase version (#10145) 2020-01-17 23:06:58 +01:00
with-firebase-authentication-serverless Add example: with-firebase-authentication-serverless (#10078) 2020-01-20 16:12:48 -05:00
with-firebase-cloud-messaging chore(examples): Update firebase version (#10145) 2020-01-17 23:06:58 +01:00
with-firebase-hosting chore(examples): Update firebase version (#10145) 2020-01-17 23:06:58 +01:00
with-firebase-hosting-and-docker chore(examples): Update firebase version (#10145) 2020-01-17 23:06:58 +01:00
with-firebase-hosting-and-typescript chore(examples): Update firebase version (#10145) 2020-01-17 23:06:58 +01:00
with-flow Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-framer-motion Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-freactal Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-glamor Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-glamorous Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-global-stylesheet Remove with-global-stylesheet example (#4913) 2018-08-07 18:36:28 -07:00
with-global-stylesheet-simple Remove with-global-stylesheet example (#4913) 2018-08-07 18:36:28 -07:00
with-google-analytics sends Google Analytics correct url path on fresh page load (#10146) 2020-01-20 11:29:35 -05:00
with-google-analytics-amp Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-graphql-faunadb Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-graphql-hooks Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-graphql-react Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-grommet Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-hashed-statics Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-higher-order-component Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-http2 Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-immutable-redux-wrapper Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-ioc Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-jest Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-jest-flow Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-jest-react-testing-library Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-jest-typescript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-kea Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-linaria Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-lingui Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-loading Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-markdown Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-material-ui with-material-ui example linked to mui-org/material-ui (#9605) (#9616) 2019-12-04 11:47:51 +01:00
with-mdx Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-mobx Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-mobx-keystone-typescript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-mobx-react-lite Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-mobx-state-tree Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-mobx-state-tree-typescript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-mocha Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-netlify-cms Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-next-css Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-next-i18next Update README.md 2019-03-07 13:20:46 +01:00
with-next-less Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-next-offline Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-next-page-transitions Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-next-routes Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-next-sass Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-next-seo Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-noscript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-now-env Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-office-ui-fabric-react Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-orbit-components Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-overmind Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-patternfly Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-pkg Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-polyfills Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-portals Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-portals-ssr Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-prefetching Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-pretty-url-routing Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-quill-js Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-rbx-bulma-pro Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-esi Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-ga Minor update for the "with-react-ga" example (#10156) 2020-01-18 19:03:12 -05:00
with-react-helmet Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-intl Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-jss Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-md Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-multi-carousel Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-native-web Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-relay-network-modern Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-toolbox Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-useragent Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-uwp Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-react-with-styles Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-reasonml Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-reasonml-todo Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-rebass Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-recompose Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux-code-splitting Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux-observable Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux-persist Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux-reselect-recompose Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux-saga Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux-thunk Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-redux-wrapper Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-reflux Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-refnux Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-relay-modern Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-relay-modern-server-express Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-rematch Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-segment-analytics Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-semantic-ui Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-sentry Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-sentry-simple Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-shallow-routing Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-sitemap-and-robots-express-server update readme.md (#10136) 2020-01-17 14:22:40 -05:00
with-slate Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-socket.io Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-static-export Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-stomp Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-storybook Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-strict-csp Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-strict-csp-hash Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-style-sheet Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-styled-components Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-styled-components-rtl Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-styled-jsx-plugins Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-styled-jsx-postcss Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-styled-jsx-scss Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-styletron Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-sw-precache Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-tailwindcss Update with-tailwindcss example (#10141) 2020-01-17 16:02:38 -05:00
with-tailwindcss-emotion Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-ts-node Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-typescript Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-typescript-graphql Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-typescript-styled-components Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-typestyle Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-universal-configuration-build-time Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-universal-configuration-runtime Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-unstated Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-url-object-routing Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-videojs Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-webassembly Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-webpack-bundle-analyzer Add analyze bundles example (#5332) 2018-10-01 01:24:27 +02:00
with-webpack-bundle-size-analyzer Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-yarn-workspaces Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-zeit-fetch Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
with-zones Make example READMEs more consistent (#10124) 2020-01-16 23:23:56 +01:00
z-experimental-next-news Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00