Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
/ link-portal Public archive

Simple multitenant web app to manage bookmarks for teams.

License

Notifications You must be signed in to change notification settings

simonknittel/link-portal

Repository files navigation

Link Portal

Simple multitenant web app to manage bookmarks for teams.

Note: This app has been primarily built to test the new app directory of Next.js 13 and a few other things.

Features

  • Create bookmarks
  • Group bookmarks with tags
  • Create tenants/projects with their own dashboard for bookmarks
  • Invite others to join your projects
  • Star individual booksmarks to create a personal dashboard
  • Authentication via GitHub SSO

Demo

https://link-portal-eight.vercel.app/

Note: This demo may be slow at times. This is mainly due to Prisma not having proper support for PlanetScale in a serverless environment like Vercel yet.

Technologies

This project has been setup with the T3 App stack initially.

Usage

Requirements

Setup

  1. Configure environment variables: Duplicate app/.env.example to app/.env and fill in the blanks.
  2. Install required Node.js version: nvm use
  3. Install dependencies: cd app && npm ci
  4. Start up the database: cd .. && docker compose up
  5. Update the database's schema: cd app && npx prisma db push
  6. Run the app: npm run dev
  7. Access the app at: http://localhost:3000

Playwright tests

  1. Start up the database: docker compose up
  2. Install dependencies: cd playwright && npm ci
  3. Run the tests: npx playwright test --debug

License

See LICENSE