Remix App screenshot

Remix App

Author Avatar Theme by Nathanhumphrey
Updated: 20 Sep 2024
35 Stars

Remix with Firebase and Opinionated Structure (slightly volatile)

Categories

Overview:

This project provides additional structure for building an application with Remix. It aims to provide a generic means of authenticating a user and granting/preventing access to functionality and locations of the application. The project separates the auth feature from the database feature, and includes implementations for FileAuth and FirebaseAuth. It also defines general interfaces and types for easier integration.

Features:

  • Generic authentication: The project provides a generic way to work with the authentication mechanism, allowing the application to utilize auth without knowing anything about the underlying implementation.
  • Separation of auth and database: The implementation separates the auth feature from the database feature, allowing for better organization and flexibility.
  • FileAuth implementation: The project includes an implementation for basic local file user authentication for testing purposes.
  • FirebaseAuth implementation: The project also includes an implementation for auth using Firebase Auth, which can be run via emulators in development.

Installation:

To initialize the project, run the following command in npm:

npm init

Summary:

This project provides additional structure and conventions for building applications with Remix and Firebase. It separates the auth and database features, provides generic interfaces and types, and includes implementations for FileAuth and FirebaseAuth for authentication. It aims to simplify the development process and improve organization.