An open API service indexing awesome lists of open source software.

https://github.com/murabcd/portal


https://github.com/murabcd/portal

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

          


Open source product management platform.

Portal



Open Source Product Management Platform Built with Next.js, Supabase and AI SDK.


Features ·
Model provider
Deploy your own ·
Running locally



## Features

- [Next.js](https://nextjs.org) App Router with multiple apps for `app`, `api`, `web`, and `portal`
- [Turborepo](https://turbo.build/repo) monorepo powered by [`next-forge`](https://www.next-forge.com)
- [Drizzle](https://orm.drizzle.team/) + [Better Auth](https://www.better-auth.com/) backend package
- Rich text editor with Novel and TipTap plus an Excalidraw canvas package
- Design system built on [shadcn/ui](https://ui.shadcn.com), [Tailwind CSS](https://tailwindcss.com), and [Radix UI](https://radix-ui.com)

## Model Providers

This app uses [Openai](https://openai.com/) as the default provider via the [AI SDK](https://sdk.vercel.ai/docs). You can switch LLM providers to [Ollama](https://ollama.com), [Anthropic](https://anthropic.com), [Cohere](https://cohere.com/), and [many more](https://sdk.vercel.ai/providers/ai-sdk-providers) with just a few lines of code.

## Deploy your own

Portal is designed to be deployed on Vercel. Create 4 projects (`app`, `api`, `web`, `portal`) and set the Root Directory to the app you are deploying (for example `apps/app`). Then add the required environment variables and deploy.

## Running locally

You will need to use the environment variables [defined in `.env.example`](.env.example) to run Fragmenta. It's recommended you use [Vercel Environment Variables](https://vercel.com/docs/projects/environment-variables) for this, but a `.env` file is all that is necessary.

> Note: You should not commit your `.env` file or it will expose secrets that will allow others to control access to your various Convex and authentication provider accounts.

1. Install Vercel CLI: `npm i -g vercel`
2. Link local instance with Vercel and GitHub accounts (creates `.vercel` directory): `vercel link`
3. Download your environment variables: `vercel env pull`

```bash
npm install
npm run dev
```

Local apps use these ports by default:

- `app`: [localhost:3000](http://localhost:3000/)
- `api`: [localhost:3001](http://localhost:3001/)
- `web`: [localhost:3002](http://localhost:3002/)
- `adf-validator`: [localhost:3003](http://localhost:3003/)

To run only the main product app and marketing site:

```bash
npm run dev:core
```