This is v0.0.1 of SaasRock - The One-Man SaaS Framework. A lot has been added since this version.
- Create the
.env
file and set the following values:
- DATABASE_URL
- REMIX_SESSION_SECRET - any string
- REMIX_ADMIN_EMAIL - this will be your admin user
- REMIX_ADMIN_PASSWORD - don't commit your .env file
- REMIX_STRIPE_SK - click here to get the secret key
- REMIX_POSTMARK_SERVER_TOKEN - create a free email server here
- REMIX_INTEGRATIONS_CONTACT_FORMSPREE - create a free form here
- REMIX_COMPANY_ADDRESS - used on emails
- Generate and seed your database. If your using sqlite and your database gets messed up, you can always delete the
dev.db
file and run npx prisma db push again.
npx prisma migrate dev --name init
- Run the app:
yarn
yarn dev
-
Log in with your
REMIX_ADMIN_EMAIL
andREMIX_ADMIN_PASSWORD
. -
Generate Stripe products at
/admin/pricing
. -
Generate Postmark email templates at
/admin/emails
. -
Sign out.
-
Verify the created Stripe products at the
/pricing
page. -
Register with a new email at
/register
. You should get awelcome
email. -
Click on
Click here to subscribe
and subscribe any plan using Stripe checkout (use any Stripe test card). -
Click on the sidebar item
Links
andNew link
. Invite your admin user (REMIX_ADMIN_EMAIL
) and its workspace T1.Workspace 1 or T1.Workspace 2. You should get anworkspace link invitation
email, and be redirected to/app/links/pending
. -
Sign out, and log in as your admin user.
-
Select the invited workspace and click on
1 pending link
. -
Reject the invitation. You should get a
invitation rejected
email. -
Sign out, log in as your user registered on step 9, and repeat steps 11, 12 and 13.
-
Sign out, log in as your admin user and accept the invitation. You should get a
invitation accepted
email. -
Click on the sidebar item
Employees
andAdd employee
. Add 1 or 2. -
Click on the sidebar item
Contracts
andNew contract
. Set thename
anddescription
, and upload aPDF file
. Click onSelect signatories and viewers
, select your admin user and the user registered on step 9. Click onSelect employees
and select 1 or 2. You should get anew contract
email with the PDF as attachment. Edit or delete the contract if you want. -
Go to
app/settings/members
and add a new user. You should get anuser invitation
email. -
Go to
app/settings/workspaces
andCreate
,Edit
andDelete
workspaces. -
That's it!
- RemixBlocks - Ready-to-use Remix + Tailwind CSS routes and components.
- RemixPageBlocks - Simple page block editor with Remix and Tailwind CSS.