Administration Guide

Initial Configuration

Before running the project, several configuration steps need to be completed. Follow these steps carefully to ensure proper setup:

Environment Setup

  1. Locate the three .env.example files using CMD+P (or Ctrl+P on Windows) and typing 'example'
  2. Rename each file by removing the '.example' extension
  3. Fill in the correct information in each .env file

Note: There's an .env file in each folder (Root, Backend, and Frontend). Each folder will become a Docker container with its own environment variables.

Node Modules Installation

  1. Navigate to the backend folder: cd backend
  2. Install backend dependencies: yarn install
  3. Navigate to custom plugin directory: cd src/plugins
  4. Install custom plugin dependencies: yarn install
  5. Build the custom plugin: yarn build
  6. Return to root directory: cd ../../..
  7. Navigate to frontend folder: cd frontend
  8. Install frontend dependencies: yarn install

Stripe Integration

To set up Stripe for payments:
  1. Create a Stripe account if you haven't already
  2. Navigate to the Developers section in your Stripe dashboard
  3. Go to Webhooks and click 'Add endpoint'
  4. Set the webhook URL to: https://api.{projectname}.com/api/webhook/webhook
  5. Select the events to listen for (typically 'checkout.session.completed')
  6. Save the webhook configuration

Email Configuration

We use PostmarkApp for sending emails. It offers $75 in startup credit for new SaaS companies. To set it up:
  1. Register with PostmarkApp
  2. Complete their verification process
  3. Explain your use case (remember, only transactional emails are allowed)

Running the Project

  1. Ensure no other projects are running to avoid port conflicts
  2. Restart your computer and start Docker Desktop
  3. Navigate to the project root in the terminal
  4. Run docker compose up

Once complete, you'll have access to:

  • localhost:1337 - Backend/Strapi admin panel
  • localhost:3005 - NextJS frontend

🚀

Preview DaaS

Build a scalable and customer ready DaaS product

© 2026 Preview DaaS. All rights reserved.

We are not associated with any person or company appearing in the database(s).

LINKS