Giter VIP home page Giter VIP logo

saas's Introduction

This is a Remix + FusionAuth boilerplate for anyone who wants to quickly spin up a SaaS using these technologies.

Demo

To host the demo, We need a DigitalOcean droplet with 2GB RAM for FusionAuth to run. You can make this happen by making a donation at https://github.com/sponsors/akoskm. ๐Ÿ™‡โ€โ™‚๏ธ

Setup

You must change your /etc/hosts file to test multi-tenant sign-up and sign-in. Add the following entries:

127.0.0.1       localhost       saasbp.io
127.0.0.1       localhost       example.saasbp.io

With this, you can reach the site at http://saasbp.io:3000 and http://example.saasbp.io:3000, which is necessary to test the multi-tenant sign-up and sign-in.

Development

FusionAuth

docker compose up -d

if you want to reset the FusionAuth system, run:

docker compose down -v

FusionAuth Docs

Remix

npm i
npm run dev # To debug the app run this command in Run and Debug > JavaScript Debug Terminal, no other config needed

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

Remix Docs

Deployment

npm run build
npm start

DIY

If you're familiar with deploying node applications, the built-in Remix app server is production-ready.

Make sure to deploy the output of remix build

  • build/
  • public/build/

Screenshots

Sign Up

Xnapper-2023-11-30-12 20 48

Sign in

image

User area

image

saas's People

Contributors

akoskm avatar mrtyagi07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

saas's Issues

Allow creating new roles

You can already manage existing roles for a tenant app inside FusionAuth, we should be able to do the same.

Image

Inside this app we have one application per tenant so no need to cover the case where a tenant can have multiple apps.

Allow editing user data

FusionAuth API already allows us to edit all these fields. They should be editable from the app as well:

Image

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.