Giter Site home page Giter Site logo

remix-firebase-function-hosting's Introduction

Welcome to a Remix test project!

This project was generated using npx create-remix, and then the following modifications have been made.

  1. Introduced a functions directory which will be used firebase functions (Google Cloud Functions)[https://firebase.google.com/docs/functions]
  2. Updated remix.config.js to output server bundle into functions/build

๐Ÿฟ Online demo

Development

From your terminal:

npm run dev

This starts your app in development mode, rebuilding assets on file changes.

Alternatively to run the app in production mode:

npm start

Deployment

To deploy you will need to be logged into a Firebase project via the CLI.

Once logged in you can run the following command:

firebase deploy

Note: You will need to manually update the Firebase function to be publicly available using the Google console

remix-firebase-function-hosting's People

Contributors

thisislawatts avatar

Watchers

 avatar

remix-firebase-function-hosting's Issues

Support ThemeUI

Remix App Server started at http://localhost:3000 (http://192.168.86.233:3000)
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/luke/scratch/remix-first-app/node_modules/@mdx-js/react/index.js from /Users/luke/scratch/remix-first-app/node_modules/@theme-ui/mdx/dist/theme-ui-mdx.cjs.dev.js not supported.
Instead change the require of index.js in /Users/luke/scratch/remix-first-app/node_modules/@theme-ui/mdx/dist/theme-ui-mdx.cjs.dev.js to a dynamic import() which is available in all CommonJS modules.

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.