A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
Move the web app into a subdir
MohamedBassem083ea5bd1917
diff --git a/README.md b/README.mdindex c4033664..71b85fc9 100644--- a/README.md+++ b/README.md@@ -1,36 +1 @@-This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).--## Getting Started--First, run the development server:--```bash-npm run dev-# or-yarn dev-# or-pnpm dev-# or-bun dev-```--Open [http://localhost:3000](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`](https://nextjs.org/docs/basic-features/font-optimization) 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:--- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.-- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.--You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!--## Deploy on Vercel--The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.--Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.+# Remember!diff --git a/.env.sample b/web/.env.samplesimilarity index 100%rename from .env.samplerename to web/.env.samplediff --git a/.eslintrc.json b/web/.eslintrc.jsonsimilarity index 100%rename from .eslintrc.jsonrename to web/.eslintrc.jsondiff --git a/.gitignore b/web/.gitignoresimilarity index 100%rename from .gitignorerename to web/.gitignorediff --git a/Dockerfile b/web/Dockerfilesimilarity index 100%rename from Dockerfilerename to web/Dockerfilediff --git a/web/README.md b/web/README.mdnew file mode 100644index 00000000..c4033664--- /dev/null+++ b/web/README.md@@ -0,0 +1,36 @@+This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).++## Getting Started++First, run the development server:++```bash+npm run dev+# or+yarn dev+# or+pnpm dev+# or+bun dev+```++Open [http://localhost:3000](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`](https://nextjs.org/docs/basic-features/font-optimization) 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:++- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.+- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.++You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!++## Deploy on Vercel++The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.++Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.diff --git a/app/api/auth/[...nextauth]/route.tsx b/web/app/api/auth/[...nextauth]/route.tsxsimilarity index 100%rename from app/api/auth/[...nextauth]/route.tsxrename to web/app/api/auth/[...nextauth]/route.tsxdiff --git a/app/api/v1/links/route.ts b/web/app/api/v1/links/route.tssimilarity index 100%rename from app/api/v1/links/route.tsrename to web/app/api/v1/links/route.tsdiff --git a/app/favicon.ico b/web/app/favicon.icosimilarity index 100%rename from app/favicon.icorename to web/app/favicon.icodiff --git a/app/globals.css b/web/app/globals.csssimilarity index 100%rename from app/globals.cssrename to web/app/globals.cssdiff --git a/app/layout.tsx b/web/app/layout.tsxsimilarity index 100%rename from app/layout.tsxrename to web/app/layout.tsxdiff --git a/app/page.tsx b/web/app/page.tsxsimilarity index 100%rename from app/page.tsxrename to web/app/page.tsxdiff --git a/bun.lockb b/web/bun.lockbsimilarity index 100%rename from bun.lockbrename to web/bun.lockbdiff --git a/components.json b/web/components.jsonsimilarity index 100%rename from components.jsonrename to web/components.jsondiff --git a/components/auth/login.tsx b/web/components/auth/login.tsxsimilarity index 100%rename from components/auth/login.tsxrename to web/components/auth/login.tsxdiff --git a/components/auth/logout.tsx b/web/components/auth/logout.tsxsimilarity index 100%rename from components/auth/logout.tsxrename to web/components/auth/logout.tsxdiff --git a/lib/auth.ts b/web/lib/auth.tssimilarity index 100%rename from lib/auth.tsrename to web/lib/auth.tsdiff --git a/lib/config.ts b/web/lib/config.tssimilarity index 100%rename from lib/config.tsrename to web/lib/config.tsdiff --git a/lib/prisma.ts b/web/lib/prisma.tssimilarity index 100%rename from lib/prisma.tsrename to web/lib/prisma.tsdiff --git a/lib/types/api/links.ts b/web/lib/types/api/links.tssimilarity index 100%rename from lib/types/api/links.tsrename to web/lib/types/api/links.tsdiff --git a/lib/types/next-auth.d.ts b/web/lib/types/next-auth.d.tssimilarity index 100%rename from lib/types/next-auth.d.tsrename to web/lib/types/next-auth.d.tsdiff --git a/lib/utils.ts b/web/lib/utils.tssimilarity index 100%rename from lib/utils.tsrename to web/lib/utils.tsdiff --git a/next.config.mjs b/web/next.config.mjssimilarity index 100%rename from next.config.mjsrename to web/next.config.mjsdiff --git a/package.json b/web/package.jsonsimilarity index 100%rename from package.jsonrename to web/package.jsondiff --git a/postcss.config.js b/web/postcss.config.jssimilarity index 100%rename from postcss.config.jsrename to web/postcss.config.jsdiff --git a/prisma/migrations/20240205153748_add_users/migration.sql b/web/prisma/migrations/20240205153748_add_users/migration.sqlsimilarity index 100%rename from prisma/migrations/20240205153748_add_users/migration.sqlrename to web/prisma/migrations/20240205153748_add_users/migration.sqldiff --git a/prisma/migrations/20240206000813_add_links/migration.sql b/web/prisma/migrations/20240206000813_add_links/migration.sqlsimilarity index 100%rename from prisma/migrations/20240206000813_add_links/migration.sqlrename to web/prisma/migrations/20240206000813_add_links/migration.sqldiff --git a/prisma/migrations/migration_lock.toml b/web/prisma/migrations/migration_lock.tomlsimilarity index 100%rename from prisma/migrations/migration_lock.tomlrename to web/prisma/migrations/migration_lock.tomldiff --git a/prisma/schema.prisma b/web/prisma/schema.prismasimilarity index 100%rename from prisma/schema.prismarename to web/prisma/schema.prismadiff --git a/public/next.svg b/web/public/next.svgsimilarity index 100%rename from public/next.svgrename to web/public/next.svgdiff --git a/public/vercel.svg b/web/public/vercel.svgsimilarity index 100%rename from public/vercel.svgrename to web/public/vercel.svgdiff --git a/tailwind.config.ts b/web/tailwind.config.tssimilarity index 100%rename from tailwind.config.tsrename to web/tailwind.config.tsdiff --git a/tsconfig.json b/web/tsconfig.jsonsimilarity index 100%rename from tsconfig.jsonrename to web/tsconfig.json