Cybersecurity-Projects/PROJECTS/bug-bounty-platform/README.rst

3.0 KiB

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Fullstack Template: FastAPI + React + Nginx

Production-ready Docker setup with TypeScript and SCSS


Setup

Option 2: Clone

System Message: WARNING/2 (<stdin>, line 25)

Cannot analyze code. Pygments package not found.

.. code-block:: bash

   git clone https://github.com/CarterPerez-dev/fullstack-template.git my-project
   cd my-project
   rm -rf .git && git init

Installation

System Message: WARNING/2 (<stdin>, line 45)

Cannot analyze code. Pygments package not found.

.. code-block:: bash

   chmod +x setup.sh
   ./setup.sh

Or if you have just:

System Message: WARNING/2 (<stdin>, line 52)

Cannot analyze code. Pygments package not found.

.. code-block:: bash

   just setup

This will:

  • Copy .env.example.env with generated SECRET_KEY
  • Move template files (LICENSE, CONTRIBUTING, etc.) to root
  • Install backend dependencies (uv sync)
  • Install frontend dependencies (pnpm install)

Next Steps

  1. Edit .env with your configuration
  2. Start development: just dev-up
  3. After creating models: just migration-local "initial" then just migrate-local head

Run just to see all available commands.


Documentation

Comprehensive guides for understanding and customizing this template:

Backend

  • Backend Architecture

    Complete backend architecture including FastAPI setup, security patterns (JWT + Argon2id), database models, repository pattern, services, API endpoints, testing, and production deployment.

Frontend

  • Frontend Architecture

    React 19 + TypeScript architecture with TanStack Query, Zustand state management, complete design system (OKLCH colors), API integration patterns, SCSS utilities, and performance optimizations.

Infrastructure

  • Nginx Configuration

    Reverse proxy setup, rate limiting, WebSocket proxying, caching strategies, security headers, and performance tuning for both development and production.

  • Docker & Compose

    Multi-stage Dockerfiles, health checks, network segmentation, resource limits, security hardening, and complete containerization guide.


License

MIT License - see - LICENSE

</html>