Skip to content

dossi web app & API: Your own private GitHub notes on every page

License

Notifications You must be signed in to change notification settings

siegerts/dossi-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Your own private GitHub notes on every page

dossi

Your own private GitHub notes on every page
Learn more »

Chrome Extension | Website | Browser extension repo | Feedback

Introduction

This is the backend and web app for the dossi.dev browser extension.

Functionality

  • Auth integration with NextAuth.js
  • Label management
  • Pin management
  • Note management, search and filtering, and download (csv, json)
  • Stripe integration for subscription management with customer portal

Tech Stack

Getting Started

Requirements

  • Node.js
  • pnpm
  • Postgres
  • Stripe account
  • GitHub OAuth app (for NextAuth.js)

Environment variables

Create a .env.local file in the root of the project with the following environment variables:

# -----------------------------------------------------------------------------
# App
# -----------------------------------------------------------------------------
NEXT_PUBLIC_APP_URL=http://localhost:3000

# -----------------------------------------------------------------------------
# Authentication (NextAuth.js)
# -----------------------------------------------------------------------------
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=

# -----------------------------------------------------------------------------
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

# -----------------------------------------------------------------------------
# Database (Postgres - Neon) Dev Branch
# -----------------------------------------------------------------------------
DATABASE_URL=

# -----------------------------------------------------------------------------
# Subscriptions (Stripe)
# -----------------------------------------------------------------------------
STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=
STRIPE_PRO_MONTHLY_PLAN_ID=

Install dependencies

pnpm install

Generate Prisma client

pnpm prisma generate

Start the development server

pnpm dev

License

dossi is open source and available under the GNU General Public License v3.0(AGPLv3).