diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-06 12:26:29 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-06 12:26:29 +0000 |
| commit | 083ea5bd19172381bb53e95aaf98eaabef839c54 (patch) | |
| tree | 4d1c041aab7cd8d15382330db08caeb9c5a12c63 | |
| parent | b792121977ade8bdd3fb62704b65a9fcbd1436b9 (diff) | |
| download | karakeep-083ea5bd19172381bb53e95aaf98eaabef839c54.tar.zst | |
Move the web app into a subdir
| -rw-r--r-- | README.md | 37 | ||||
| -rw-r--r-- | web/.env.sample (renamed from .env.sample) | 0 | ||||
| -rw-r--r-- | web/.eslintrc.json (renamed from .eslintrc.json) | 0 | ||||
| -rw-r--r-- | web/.gitignore (renamed from .gitignore) | 0 | ||||
| -rw-r--r-- | web/Dockerfile (renamed from Dockerfile) | 0 | ||||
| -rw-r--r-- | web/README.md | 36 | ||||
| -rw-r--r-- | web/app/api/auth/[...nextauth]/route.tsx (renamed from app/api/auth/[...nextauth]/route.tsx) | 0 | ||||
| -rw-r--r-- | web/app/api/v1/links/route.ts (renamed from app/api/v1/links/route.ts) | 0 | ||||
| -rw-r--r-- | web/app/favicon.ico (renamed from app/favicon.ico) | bin | 25931 -> 25931 bytes | |||
| -rw-r--r-- | web/app/globals.css (renamed from app/globals.css) | 0 | ||||
| -rw-r--r-- | web/app/layout.tsx (renamed from app/layout.tsx) | 0 | ||||
| -rw-r--r-- | web/app/page.tsx (renamed from app/page.tsx) | 0 | ||||
| -rwxr-xr-x | web/bun.lockb (renamed from bun.lockb) | bin | 152334 -> 152334 bytes | |||
| -rw-r--r-- | web/components.json (renamed from components.json) | 0 | ||||
| -rw-r--r-- | web/components/auth/login.tsx (renamed from components/auth/login.tsx) | 0 | ||||
| -rw-r--r-- | web/components/auth/logout.tsx (renamed from components/auth/logout.tsx) | 0 | ||||
| -rw-r--r-- | web/lib/auth.ts (renamed from lib/auth.ts) | 0 | ||||
| -rw-r--r-- | web/lib/config.ts (renamed from lib/config.ts) | 0 | ||||
| -rw-r--r-- | web/lib/prisma.ts (renamed from lib/prisma.ts) | 0 | ||||
| -rw-r--r-- | web/lib/types/api/links.ts (renamed from lib/types/api/links.ts) | 0 | ||||
| -rw-r--r-- | web/lib/types/next-auth.d.ts (renamed from lib/types/next-auth.d.ts) | 0 | ||||
| -rw-r--r-- | web/lib/utils.ts (renamed from lib/utils.ts) | 0 | ||||
| -rw-r--r-- | web/next.config.mjs (renamed from next.config.mjs) | 0 | ||||
| -rw-r--r-- | web/package.json (renamed from package.json) | 0 | ||||
| -rw-r--r-- | web/postcss.config.js (renamed from postcss.config.js) | 0 | ||||
| -rw-r--r-- | web/prisma/migrations/20240205153748_add_users/migration.sql (renamed from prisma/migrations/20240205153748_add_users/migration.sql) | 0 | ||||
| -rw-r--r-- | web/prisma/migrations/20240206000813_add_links/migration.sql (renamed from prisma/migrations/20240206000813_add_links/migration.sql) | 0 | ||||
| -rw-r--r-- | web/prisma/migrations/migration_lock.toml (renamed from prisma/migrations/migration_lock.toml) | 0 | ||||
| -rw-r--r-- | web/prisma/schema.prisma (renamed from prisma/schema.prisma) | 0 | ||||
| -rw-r--r-- | web/public/next.svg (renamed from public/next.svg) | 0 | ||||
| -rw-r--r-- | web/public/vercel.svg (renamed from public/vercel.svg) | 0 | ||||
| -rw-r--r-- | web/tailwind.config.ts (renamed from tailwind.config.ts) | 0 | ||||
| -rw-r--r-- | web/tsconfig.json (renamed from tsconfig.json) | 0 |
33 files changed, 37 insertions, 36 deletions
@@ -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.sample index a48054f0..a48054f0 100644 --- a/.env.sample +++ b/web/.env.sample diff --git a/.eslintrc.json b/web/.eslintrc.json index bffb357a..bffb357a 100644 --- a/.eslintrc.json +++ b/web/.eslintrc.json diff --git a/.gitignore b/web/.gitignore index 5bcde103..5bcde103 100644 --- a/.gitignore +++ b/web/.gitignore diff --git a/Dockerfile b/web/Dockerfile index 30a46bd3..30a46bd3 100644 --- a/Dockerfile +++ b/web/Dockerfile diff --git a/web/README.md b/web/README.md new file mode 100644 index 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.tsx index bfcda516..bfcda516 100644 --- a/app/api/auth/[...nextauth]/route.tsx +++ b/web/app/api/auth/[...nextauth]/route.tsx diff --git a/app/api/v1/links/route.ts b/web/app/api/v1/links/route.ts index 5be1018e..5be1018e 100644 --- a/app/api/v1/links/route.ts +++ b/web/app/api/v1/links/route.ts diff --git a/app/favicon.ico b/web/app/favicon.ico Binary files differindex 718d6fea..718d6fea 100644 --- a/app/favicon.ico +++ b/web/app/favicon.ico diff --git a/app/globals.css b/web/app/globals.css index 6a757250..6a757250 100644 --- a/app/globals.css +++ b/web/app/globals.css diff --git a/app/layout.tsx b/web/app/layout.tsx index 3314e478..3314e478 100644 --- a/app/layout.tsx +++ b/web/app/layout.tsx diff --git a/app/page.tsx b/web/app/page.tsx index 2df40508..2df40508 100644 --- a/app/page.tsx +++ b/web/app/page.tsx diff --git a/bun.lockb b/web/bun.lockb Binary files differindex bfd618dc..bfd618dc 100755 --- a/bun.lockb +++ b/web/bun.lockb diff --git a/components.json b/web/components.json index 15f2b025..15f2b025 100644 --- a/components.json +++ b/web/components.json diff --git a/components/auth/login.tsx b/web/components/auth/login.tsx index 4cd55546..4cd55546 100644 --- a/components/auth/login.tsx +++ b/web/components/auth/login.tsx diff --git a/components/auth/logout.tsx b/web/components/auth/logout.tsx index 87391c84..87391c84 100644 --- a/components/auth/logout.tsx +++ b/web/components/auth/logout.tsx diff --git a/lib/auth.ts b/web/lib/auth.ts index 9b21e605..9b21e605 100644 --- a/lib/auth.ts +++ b/web/lib/auth.ts diff --git a/lib/config.ts b/web/lib/config.ts index ef86cb5a..ef86cb5a 100644 --- a/lib/config.ts +++ b/web/lib/config.ts diff --git a/lib/prisma.ts b/web/lib/prisma.ts index d73ba5f2..d73ba5f2 100644 --- a/lib/prisma.ts +++ b/web/lib/prisma.ts diff --git a/lib/types/api/links.ts b/web/lib/types/api/links.ts index 81cde053..81cde053 100644 --- a/lib/types/api/links.ts +++ b/web/lib/types/api/links.ts diff --git a/lib/types/next-auth.d.ts b/web/lib/types/next-auth.d.ts index bdd3bd03..bdd3bd03 100644 --- a/lib/types/next-auth.d.ts +++ b/web/lib/types/next-auth.d.ts diff --git a/lib/utils.ts b/web/lib/utils.ts index d084ccad..d084ccad 100644 --- a/lib/utils.ts +++ b/web/lib/utils.ts diff --git a/next.config.mjs b/web/next.config.mjs index 4678774e..4678774e 100644 --- a/next.config.mjs +++ b/web/next.config.mjs diff --git a/package.json b/web/package.json index 1323e456..1323e456 100644 --- a/package.json +++ b/web/package.json diff --git a/postcss.config.js b/web/postcss.config.js index 12a703d9..12a703d9 100644 --- a/postcss.config.js +++ b/web/postcss.config.js diff --git a/prisma/migrations/20240205153748_add_users/migration.sql b/web/prisma/migrations/20240205153748_add_users/migration.sql index cbf47073..cbf47073 100644 --- a/prisma/migrations/20240205153748_add_users/migration.sql +++ b/web/prisma/migrations/20240205153748_add_users/migration.sql diff --git a/prisma/migrations/20240206000813_add_links/migration.sql b/web/prisma/migrations/20240206000813_add_links/migration.sql index 38c8d938..38c8d938 100644 --- a/prisma/migrations/20240206000813_add_links/migration.sql +++ b/web/prisma/migrations/20240206000813_add_links/migration.sql diff --git a/prisma/migrations/migration_lock.toml b/web/prisma/migrations/migration_lock.toml index e5e5c470..e5e5c470 100644 --- a/prisma/migrations/migration_lock.toml +++ b/web/prisma/migrations/migration_lock.toml diff --git a/prisma/schema.prisma b/web/prisma/schema.prisma index 54be3eae..54be3eae 100644 --- a/prisma/schema.prisma +++ b/web/prisma/schema.prisma diff --git a/public/next.svg b/web/public/next.svg index 5174b28c..5174b28c 100644 --- a/public/next.svg +++ b/web/public/next.svg diff --git a/public/vercel.svg b/web/public/vercel.svg index d2f84222..d2f84222 100644 --- a/public/vercel.svg +++ b/web/public/vercel.svg diff --git a/tailwind.config.ts b/web/tailwind.config.ts index 84287e82..84287e82 100644 --- a/tailwind.config.ts +++ b/web/tailwind.config.ts diff --git a/tsconfig.json b/web/tsconfig.json index e7ff90fd..e7ff90fd 100644 --- a/tsconfig.json +++ b/web/tsconfig.json |
