quivr/frontend
Zineb El Bachiri 0b091bd8c9
Feat/shareable brains open link authenticated (#676)
* ♻️ use Single Responsibility Principle on brains_subscription

*  new brain subscription endpoints for invited user

* 📝 add documentation to endpoints

* 🎨 add base_frontend_url to send custom url for brain share

* ✏️ brains instead of brain in url

*  use origin in header for frontend url in subscription email

* 🚚 move and remove unused code

*  new subscription API for BE endpoints in frontend

*  new addBrain to  add a shared brain in frontend

* 🥚 new hook for brain invitations

*  new page for brain invitation

*  change frontend url to copy for brain subscription

* ✏️ call RBAC with wrapper function

* ✏️ last typos
2023-07-18 09:47:59 +02:00
..
app Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00
lib Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00
pages Devx/add linter rules (#331) 2023-06-15 11:52:46 +02:00
public Ux improvment (#382) 2023-06-27 11:28:09 +02:00
services/analytics fix(analytics): changed for user id 2023-06-26 22:11:10 +02:00
.dockerignore refactor(brain): removed braintoupdate and added brain (#356) 2023-06-21 10:16:44 +02:00
.eslintrc.js Feat/multiple brains frontend (#344) 2023-06-20 16:17:13 +02:00
.gitignore feat(sentry): added sentry (#443) 2023-07-01 21:12:13 +02:00
.lintstagedrc.js Devx/add linter rules (#331) 2023-06-15 11:52:46 +02:00
Dockerfile fix for timeout during installing frontend pckgs (#621) 2023-07-15 23:22:17 +02:00
Dockerfile.dev fix for timeout during installing frontend pckgs (#621) 2023-07-15 23:22:17 +02:00
middleware.ts Devx/add linter rules (#331) 2023-06-15 11:52:46 +02:00
next.config.js add github mediasource in security headers (#551) 2023-07-07 13:00:26 +02:00
package.json [ShareableBrain] User email and role inputs form (#608) 2023-07-12 14:56:25 +02:00
postcss.config.js Devx/add linter rules (#331) 2023-06-15 11:52:46 +02:00
README.md feat(api): new api init 2023-05-18 01:22:13 +02:00
sentry.client.config.ts feat(sentry): added only if env variable set 2023-07-02 14:32:16 +02:00
sentry.edge.config.ts feat(sentry): added only if env variable set 2023-07-02 14:32:16 +02:00
sentry.server.config.ts feat(sentry): added only if env variable set 2023-07-02 14:32:16 +02:00
tailwind.config.js Devx/add linter rules (#331) 2023-06-15 11:52:46 +02:00
tsconfig.eslint.json Feat: chat name edit (#343) 2023-06-20 09:54:23 +02:00
tsconfig.json Devx/add linter rules (#331) 2023-06-15 11:52:46 +02:00
vitest.config.ts Config frontend tests (#408) 2023-06-29 13:18:30 +02:00
yarn.lock [ShareableBrain] User email and role inputs form (#608) 2023-07-12 14:56:25 +02:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.