SasquatchTru
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # ⚔️ Raid Guild Proposal <> POKT OPEN PRIORITY: Gateway Demo ⚔️ > Building a User-facing Demo Gateway on top of the Nodies Gateway Kit ## Scope of Work We are thrilled to present our comprehensive proposal for developing a state-of-the-art Software as a Service (SaaS) web portal that leverages the Gateway Kit as its robust backend. Our goal is to exceed expectations by incorporating essential features and considering some nice-to-have enhancements, resulting in a scalable portal that aligns perfectly with the needs of modern self-service SaaS platforms. We are committed to delivering an agile development process with active involvement from PNF and the Pocket community. ## POKT POP- Gateway SaaS Kit ### Detailed Modules Overview #### 1. Project Website & Documentation - **A. Public-Facing Website Development** - **Framework**: Utilize React.js for a responsive, dynamic project website. - **B. Comprehensive Documentation** - **Tool**: Employ Docusaurus or similar for user-friendly documentation. - **Content**: Include thorough API docs and user manuals. #### 2. User Access Module - **A. User Authentication System** - **Authentication**: Implement OAuth2.0 or JWT for secure login. - **User Management**: Full CRUD operations for user profiles. - **B. App/Endpoint Management System** - **App Settings**: Intuitive UI for configuration settings. - **API Key Management**: Robust system for key generation and security. - **Usage Reporting**: Detailed analytics and log dashboard for monitoring. #### 3. Drop-in Payment Module - **A. User-Payment Plan Setup** - **Payment Integration**: Pay as you go crypto payments in multiple tokens. - **Subscription Tiers**: Multiple tiers to cater to different user needs. - **B. Invoicing & Reporting** - **Usage Notifications**: Automated alerts for usage and billing. #### 4. Gateway Admin Module - Frontend - **A. Gateway Health & Monitoring** - **Monitoring**: Real-time tracking and management of app stakes, utilizing Gateway Kit Prometheus metrics. - **Visualization**: Dynamic, visual representation of stats and health indicators. - **B. User Access & Monitoring** - **Admin Panel**: Comprehensive user access management interface. - **Audit Trails**: Detailed logging and auditing for security and compliance. #### 5. Gateway Proxy/Backend Setup - **A. Request Relaying via Gateway Kit** - **Load Balancing**: Implement effective load distribution and routing. - **B. Backend Tasks** - **Data Processing**: Efficient handling and processing of backend data. - **Caching Setup**: Implement caching for enhanced performance and speed. ## Stack Details ### Frontend - **Framework**: Next.js - Utilizes React.js, enabling server-side rendering and static site generation. - Improved SEO, performance, easy routing, and Node.js integration. ### Backend - **Framework**: NestJS with Prisma ORM - NestJS offers modular architecture, maintainable and scalable code. - TypeScript support for reliability and maintainability. - Prisma ORM integrated for strong typing, model validation, and efficient database management. - Simplified database operations with an easy-to-use query builder. - **Database**: PostgreSQL and Redis - Advanced SQL database with strong consistency and reliability for multi-tenancy user and application data. - Ideal for scalable applications and large datasets. - Redis offers low latency writes necessary for collecting usage stats on the reverse proxy - **Reverse Proxy**: Golang - Interfaces with the gateway kit to offer the reverse proxy. - Performs authorization via API keys created by management system. - Tracks usage for billing purposes. ### TEAM #### [Raid Guild](https://www.raidguild.org/portfolio) We are a selected Raiding Party custom built to tackle this unique POP. Raid Guild is a service DAO founded in late 2020 to provide clients access to a network of technical and creative Web3 builders. Our organization is flat and true to the ideals of the Ethereum ecosystem. - **SAYONARA** - Lead Front End Dev - **PLOR** - BackEnd Dev and Systems Engineer - **BENEDICTVS** - Bis Dev - **SASQUATCH** - Account/Project Management --- ## Proposal from RaidGuild ### Expected Deliverables - **Design** - Wireframes for the user portal - Shared via figma for open use by community - **Portal** - User management - Endpoint management - Usage statistics and Rate limits - Billing - **Documentation** - Gateway usage information - Open source dev docs - **Reverse Proxy** - Routes to gateway kit - Tracks per endpoint usage - Rate limiting ### **Milestones** --- #### Sprint 1: > - Design assets produced and reviewed :heavy_check_mark: > - Backend components scaffolding and architecture design :heavy_check_mark: #### Sprint 2: > - Portal initial development :heavy_check_mark: > - Landing page and login:heavy_check_mark: > - Database initialization :heavy_check_mark: #### Sprint 3: > - Portal user creation :heavy_check_mark: > - Reverse proxy development :heavy_check_mark: #### Sprint 4: > - Portal endpoint creation :heavy_check_mark: > - App side :heavy_check_mark: > - Chain side :heavy_check_mark: > - UI :heavy_check_mark: > - Documentation setup :heavy_check_mark: > - Per endpoint usage tracking :heavy_check_mark: #### Sprint 5: > - Portal usage and rate limiting :heavy_check_mark: > - Payment accounting and processing :heavy_check_mark: #### Sprint 6: > - Portal accounting reporting and payments :heavy_check_mark: > - Finalize documentation :heavy_check_mark: > - Final backend deploys and configuration :heavy_check_mark: ---- ## Proposal | | Estimate | Time Estimate | | ------------------ | ------------------- | ------------- | | DESIGN | $ 6,000 | 3 weeks | | PORTAL | $ 20,000 | 10 weeks | | DOCS | $ 4,000 | 6 weeks | | BACKEND | $ 25,000 | 10 weeks | | **Total Estimate** | **$55,000** in POKT | **12 weeks** | *Note: the above figures include administration and project management* *Note: Silos above will work concurrently, total time estimate reflects this*

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully