Closed sujeetgund closed 3 months ago
@sujeetgund is attempting to deploy a commit to the Abhijeet's projects Team on Vercel.
A member of the Team first needs to authorize it.
Hey @sujeetgund, the folder structure is changed, please follow the current folder structure of client and server both are separated. Our server should be in node.js only we don't need to migrate from node.js to Next.js only client side we need whatever it's in client folder we need to migrate to next.js not from server folder as we have separate frontend and backend.
Update these changes and then i will review again and merge it.
Okay, I will make changes accordingly!
@abhijeetnishal How does this project structure looks?
πurl-shortener-final
βββ .env.sample
βββ .eslintrc.json
βββ π.github
βββ .gitignore
βββ CODE_OF_CONDUCT.md
βββ Learn.md
βββ next-env.d.ts
βββ next.config.mjs
βββ package-lock.json
βββ package.json
βββ postcss.config.mjs
βββ πpublic
βββ chain.png
βββ copy.png
βββ http.png
βββ next.svg
βββ vercel.svg
βββ Readme.md
βββ πserver
βββ πsrc
βββ πapp
βββ favicon.ico
βββ globals.css
βββ layout.tsx
βββ page.tsx
βββ πcomponents
βββ Navbar.tsx
βββ πdb
βββ index.ts
βββ πmodels
βββ Url.ts
βββ tailwind.config.ts
βββ tsconfig.json
@abhijeetnishal How does this project structure looks?
πurl-shortener-final βββ .env.sample βββ .eslintrc.json βββ π.github βββ .gitignore βββ CODE_OF_CONDUCT.md βββ Learn.md βββ next-env.d.ts βββ next.config.mjs βββ package-lock.json βββ package.json βββ postcss.config.mjs βββ πpublic βββ chain.png βββ copy.png βββ http.png βββ next.svg βββ vercel.svg βββ Readme.md βββ πserver βββ πsrc βββ πapp βββ favicon.ico βββ globals.css βββ layout.tsx βββ page.tsx βββ πcomponents βββ Navbar.tsx βββ πdb βββ index.ts βββ πmodels βββ Url.ts βββ tailwind.config.ts βββ tsconfig.json
Hey @sujeetgund, As i mentioned earlier we need to completely separate client and server. Currently you focus on client folder and change to next.js with tailwind considering the initial design don't focus on server folder for now.
Refer this: https://github.com/abhijeetnishal/social-media-app here the application client folder using nextjs with tailwind.
If you have any queries let me know
I have restructured it into client
and server
directories. Please review and merge it.
Hey @sujeetgund, I have merged this pull request to next-tailwind-app branch, mostly it looks good to me some changes are there i will fix and let you know. Great work π
What does this PR do?
This PR restructures existing react app into next app. I actually didn't mean to make this PR this big but got many conflicts to restructure but I deployed it on vercel so you can check it: https://url-shortener-gssoc.vercel.app/
Features I have included in next app:
/shorten-url
api route to create short url/get-original-url
api route to get original url from database by shortidFIXES #15