https://github.com/thisislawatts/remix-firebase-function-hosting
https://github.com/thisislawatts/remix-firebase-function-hosting
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thisislawatts/remix-firebase-function-hosting
- Owner: thisislawatts
- Created: 2022-05-01T09:06:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-01T09:32:13.000Z (about 4 years ago)
- Last Synced: 2025-01-26T08:12:55.991Z (over 1 year ago)
- Language: TypeScript
- Size: 7.27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to a Remix test project!
- [Remix Docs](https://remix.run/docs)
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](https://thisislawatts-remix-test-app.web.app/)
## Development
From your terminal:
```sh
npm run dev
```
This starts your app in development mode, rebuilding assets on file changes.
Alternatively to run the app in production mode:
```sh
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:
```sh
firebase deploy
```
**Note:** You will need to manually update the Firebase function to be [publicly available using the Google console](https://cloud.google.com/functions/docs/writing/http)