diff --git a/README.md b/README.md index 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.sample similarity index 100% rename from .env.sample rename to web/.env.sample diff --git a/.eslintrc.json b/web/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to web/.eslintrc.json diff --git a/.gitignore b/web/.gitignore similarity index 100% rename from .gitignore rename to web/.gitignore diff --git a/Dockerfile b/web/Dockerfile similarity index 100% rename from Dockerfile rename to 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 similarity index 100% rename from app/api/auth/[...nextauth]/route.tsx rename to web/app/api/auth/[...nextauth]/route.tsx diff --git a/app/api/v1/links/route.ts b/web/app/api/v1/links/route.ts similarity index 100% rename from app/api/v1/links/route.ts rename to web/app/api/v1/links/route.ts diff --git a/app/favicon.ico b/web/app/favicon.ico similarity index 100% rename from app/favicon.ico rename to web/app/favicon.ico diff --git a/app/globals.css b/web/app/globals.css similarity index 100% rename from app/globals.css rename to web/app/globals.css diff --git a/app/layout.tsx b/web/app/layout.tsx similarity index 100% rename from app/layout.tsx rename to web/app/layout.tsx diff --git a/app/page.tsx b/web/app/page.tsx similarity index 100% rename from app/page.tsx rename to web/app/page.tsx diff --git a/bun.lockb b/web/bun.lockb similarity index 100% rename from bun.lockb rename to web/bun.lockb diff --git a/components.json b/web/components.json similarity index 100% rename from components.json rename to web/components.json diff --git a/components/auth/login.tsx b/web/components/auth/login.tsx similarity index 100% rename from components/auth/login.tsx rename to web/components/auth/login.tsx diff --git a/components/auth/logout.tsx b/web/components/auth/logout.tsx similarity index 100% rename from components/auth/logout.tsx rename to web/components/auth/logout.tsx diff --git a/lib/auth.ts b/web/lib/auth.ts similarity index 100% rename from lib/auth.ts rename to web/lib/auth.ts diff --git a/lib/config.ts b/web/lib/config.ts similarity index 100% rename from lib/config.ts rename to web/lib/config.ts diff --git a/lib/prisma.ts b/web/lib/prisma.ts similarity index 100% rename from lib/prisma.ts rename to web/lib/prisma.ts diff --git a/lib/types/api/links.ts b/web/lib/types/api/links.ts similarity index 100% rename from lib/types/api/links.ts rename to web/lib/types/api/links.ts diff --git a/lib/types/next-auth.d.ts b/web/lib/types/next-auth.d.ts similarity index 100% rename from lib/types/next-auth.d.ts rename to web/lib/types/next-auth.d.ts diff --git a/lib/utils.ts b/web/lib/utils.ts similarity index 100% rename from lib/utils.ts rename to web/lib/utils.ts diff --git a/next.config.mjs b/web/next.config.mjs similarity index 100% rename from next.config.mjs rename to web/next.config.mjs diff --git a/package.json b/web/package.json similarity index 100% rename from package.json rename to web/package.json diff --git a/postcss.config.js b/web/postcss.config.js similarity index 100% rename from postcss.config.js rename to web/postcss.config.js diff --git a/prisma/migrations/20240205153748_add_users/migration.sql b/web/prisma/migrations/20240205153748_add_users/migration.sql similarity index 100% rename from prisma/migrations/20240205153748_add_users/migration.sql rename to 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 similarity index 100% rename from prisma/migrations/20240206000813_add_links/migration.sql rename to web/prisma/migrations/20240206000813_add_links/migration.sql diff --git a/prisma/migrations/migration_lock.toml b/web/prisma/migrations/migration_lock.toml similarity index 100% rename from prisma/migrations/migration_lock.toml rename to web/prisma/migrations/migration_lock.toml diff --git a/prisma/schema.prisma b/web/prisma/schema.prisma similarity index 100% rename from prisma/schema.prisma rename to web/prisma/schema.prisma diff --git a/public/next.svg b/web/public/next.svg similarity index 100% rename from public/next.svg rename to web/public/next.svg diff --git a/public/vercel.svg b/web/public/vercel.svg similarity index 100% rename from public/vercel.svg rename to web/public/vercel.svg diff --git a/tailwind.config.ts b/web/tailwind.config.ts similarity index 100% rename from tailwind.config.ts rename to web/tailwind.config.ts diff --git a/tsconfig.json b/web/tsconfig.json similarity index 100% rename from tsconfig.json rename to web/tsconfig.json