Welcome to the Dory Clone project! π This repository replicates key functionalities of Dory π , providing a modern π₯οΈ, responsive π±, and feature-rich β¨ application.
- π Authentication: Seamlessly integrated with Kinde for secure π user authentication.
- π₯ User Roles: Manage user roles π§βπΌπ©βπΌ for customized access and permissions.
- π Database: Powered by Supabase for a reliable π and scalable backend.
- π± Database Seeding: Preload your database πΎ with essential data π for rapid development π.
- π οΈ ORM: Utilizes Prisma for intuitive π§© and efficient π‘οΈ database management.
- π¨ Modern & Responsive Design: Built with ShadCN for a clean π§Ό and adaptive π user interface.
- π Server Actions: Leverages next-safe-action for secure π server-side operations.
- π Forms: Easily handle forms ποΈ using react-hook-form.
- βοΈ Data Validation: Ensures data integrity π‘οΈ with zod.
- β‘ Realtime Updates: Stay in sync π with Supabase Realtime.
- π Notification System: Keep users informed π with instant π© notifications.
- π Upvoting System: Implement upvoting ππ» for user-generated content π.
- π Optimistic Updates: Enhance user experience π with faster β‘ feedback.
- π Infinite Scrolling: Load data seamlessly βΎοΈ with infinite scrolling functionality.
Follow these steps to set up and run the project locally π οΈ:
-
Clone the Repository ποΈ
git clone https://github.com/BernieTv/Feedback-App.git cd Feedback-App
-
Install Dependencies π¦
yarn install
-
Set Up Environment Variables π§ Create a
.env
file in the root directory π‘ and configure the required variables:NEXT_PUBLIC_BASE_URL=your_base_url KINDE_POST_LOGIN_REDIRECT_URL=your_post_login_redirect_url KINDE_POST_LOGOUT_REDIRECT_URL=your_post_logout_redirect_url KINDE_SITE_URL=your_kinde_site_url KINDE_ISSUER_URL=your_kinde_issuer_url KINDE_CLIENT_SECRET=your_kinde_client_secret KINDE_CLIENT_ID=your_kinde_client_id DATABASE_URL=your_database_url DIRECT_URL=your_direct_url
-
Run Database Migrations and Seeding π±
npx prisma migrate dev npx prisma db seed
-
Start the Development Server π
yarn run dev
-
Access the Application π Open http://localhost:3000 in your browser π.
Contributions are welcome! π Please feel free to submit issues π or pull requests π§ to improve this project.
This project is licensed under the MIT License π. See the LICENSE file for more details.