From fcdfe54a0b7bc274a23d10ac1a6ec1e80d70a48c Mon Sep 17 00:00:00 2001 From: Nikhil Menon Date: Mon, 21 Feb 2022 20:37:12 +0530 Subject: [PATCH] Revert "for vercel deployment" This reverts commit 7974c0456db93607bf07f05867f5d312aed1e253. --- README.md | 35 +----------------- .../.babelrc | 0 .../.eslintrc.json | 0 .../.gitignore | 0 internship-portal-frontend/README.md | 34 +++++++++++++++++ .../next.config.js | 0 .../package-lock.json | 0 .../package.json | 0 .../pages}/_app.js | 0 .../pages}/api/hello.js | 0 .../pages}/index.js | 0 .../public}/favicon.ico | Bin .../public}/vercel.svg | 0 .../styles}/Home.module.css | 0 .../styles}/globals.css | 0 15 files changed, 35 insertions(+), 34 deletions(-) rename .babelrc => internship-portal-frontend/.babelrc (100%) rename .eslintrc.json => internship-portal-frontend/.eslintrc.json (100%) rename .gitignore => internship-portal-frontend/.gitignore (100%) create mode 100644 internship-portal-frontend/README.md rename next.config.js => internship-portal-frontend/next.config.js (100%) rename package-lock.json => internship-portal-frontend/package-lock.json (100%) rename package.json => internship-portal-frontend/package.json (100%) rename {pages => internship-portal-frontend/pages}/_app.js (100%) rename {pages => internship-portal-frontend/pages}/api/hello.js (100%) rename {pages => internship-portal-frontend/pages}/index.js (100%) rename {public => internship-portal-frontend/public}/favicon.ico (100%) rename {public => internship-portal-frontend/public}/vercel.svg (100%) rename {styles => internship-portal-frontend/styles}/Home.module.css (100%) rename {styles => internship-portal-frontend/styles}/globals.css (100%) diff --git a/README.md b/README.md index b12f3e3..4d526ea 100644 --- a/README.md +++ b/README.md @@ -1,34 +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 -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -## 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. +# InternshipPortal \ No newline at end of file diff --git a/.babelrc b/internship-portal-frontend/.babelrc similarity index 100% rename from .babelrc rename to internship-portal-frontend/.babelrc diff --git a/.eslintrc.json b/internship-portal-frontend/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to internship-portal-frontend/.eslintrc.json diff --git a/.gitignore b/internship-portal-frontend/.gitignore similarity index 100% rename from .gitignore rename to internship-portal-frontend/.gitignore diff --git a/internship-portal-frontend/README.md b/internship-portal-frontend/README.md new file mode 100644 index 0000000..b12f3e3 --- /dev/null +++ b/internship-portal-frontend/README.md @@ -0,0 +1,34 @@ +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 +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. + +[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. + +The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. + +## 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/next.config.js b/internship-portal-frontend/next.config.js similarity index 100% rename from next.config.js rename to internship-portal-frontend/next.config.js diff --git a/package-lock.json b/internship-portal-frontend/package-lock.json similarity index 100% rename from package-lock.json rename to internship-portal-frontend/package-lock.json diff --git a/package.json b/internship-portal-frontend/package.json similarity index 100% rename from package.json rename to internship-portal-frontend/package.json diff --git a/pages/_app.js b/internship-portal-frontend/pages/_app.js similarity index 100% rename from pages/_app.js rename to internship-portal-frontend/pages/_app.js diff --git a/pages/api/hello.js b/internship-portal-frontend/pages/api/hello.js similarity index 100% rename from pages/api/hello.js rename to internship-portal-frontend/pages/api/hello.js diff --git a/pages/index.js b/internship-portal-frontend/pages/index.js similarity index 100% rename from pages/index.js rename to internship-portal-frontend/pages/index.js diff --git a/public/favicon.ico b/internship-portal-frontend/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to internship-portal-frontend/public/favicon.ico diff --git a/public/vercel.svg b/internship-portal-frontend/public/vercel.svg similarity index 100% rename from public/vercel.svg rename to internship-portal-frontend/public/vercel.svg diff --git a/styles/Home.module.css b/internship-portal-frontend/styles/Home.module.css similarity index 100% rename from styles/Home.module.css rename to internship-portal-frontend/styles/Home.module.css diff --git a/styles/globals.css b/internship-portal-frontend/styles/globals.css similarity index 100% rename from styles/globals.css rename to internship-portal-frontend/styles/globals.css