- Framework: Next.js
- Database: PlanetScale
- Authentication: NextAuth.js
- Deployment: Vercel, Fly
- Styling: Tailwind CSS, Chakra UI
- Analytics: Vercel Analytics
Create a .env
file similar to .env.example
.
git clone git@github.com:Keshav13142/Student-community.git
cd Student-community
npm install
npx prisma db push && npx prisma db generate
npm run dev
You need to run this socket server, for real-time messaging to work
- Fix auto scroll on new messages in chat.
- Use react hook form in blog create/edit page
- Chat infinite scroll.
- Blog page pagination.
- Fix dark mode images
- Handle socket connections more efficiently.
- Socket events for deletion
- Notifications on new messages or events.
- Community visibilty for each year and dept.
- Verify clg mail (get dept and year from mail).
- Truthful data for student year and dept (probably from their clg email).
- Admins can view all students, filter by dept and year.
- Update students year(1,2,3 or 4) every year (Batch edit by admins/figure out how to do it automagically)
- User pending request screen
- HOC for protected API routes, managing req types.
- Prisma transactions
- Switch to ui.shadcn.com(better accessibility and lighter) or mantine(seems more plug and play) from chakra UI
- Customize UI for clg
- Show user info on hover in chat?
- Pending req for users joining pvt.communities (idk if this is needed)