Skip to content

jnaneshshetty51/review-platform

Repository files navigation

Review Platform

A modern, full-stack Local Business Discovery and Review Platform built with Next.js, Prisma, and NextAuth.

🌟 Features

  • Business Discovery: Browse verified local businesses across various categories (Cafes, Restaurants, Fitness, etc.).
  • Authentic Reviews: Share experiences, provide ratings, and read authentic community feedback.
  • Reward System: Earn points for contributing reviews and redeem them for exciting rewards.
  • Event Management: Hosted events by businesses with integrated ticket sales.
  • Business Onboarding: Seamless flow for business owners to list and verify their establishments.
  • Community Engagement: Leaderboards for top reviewers and community stats.
  • Real-time Analytics: Platform-wide stats for businesses, reviews, and events.

🚀 Tech Stack

🛠️ Getting Started

Prerequisites

  • Node.js 18+
  • PostgreSQL database
  • Minio server (for storage)

Installation

  1. Clone the repository:

    git clone https://github.com/jnaneshshetty51/review-platform.git
    cd review-platform
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root directory and add the following:

    DATABASE_URL="postgresql://..."
    NEXTAUTH_SECRET="..."
    NEXTAUTH_URL="http://localhost:3000"
    MINIO_ENDPOINT="..."
    MINIO_ACCESS_KEY="..."
    MINIO_SECRET_KEY="..."
  4. Run database migrations:

    npx prisma migrate dev
  5. Start the development server:

    npm run dev

📱 Project Structure

  • src/app: Page components and API routes (Next.js App Router).
  • src/components: Reusable UI components.
  • src/server: Server-side logic and Prisma queries.
  • src/lib: Utility functions and mock data.
  • src/hooks: Custom React hooks.
  • prisma: Database schema and migrations.

📄 License

This project is licensed under the MIT License.

About

A modern, full-stack Local Business Discovery and Review Platform built with Next.js, Prisma, and NextAuth.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages