Skip to content

A full-stack web application built with Next.js and TypeScript that allows users to rate and review stores, with dedicated dashboards for users, store owners, and administrators.

Notifications You must be signed in to change notification settings

rudraprasad69/Store-Rating-Platform

Repository files navigation

{D457DD03-022D-4A15-865F-4EE39EA52239}

License Stars Forks Issues

A full-stack web application designed to allow users to rate and review various stores. It provides distinct functionalities for regular users, store owners, and administrators, creating a comprehensive ecosystem for managing and browsing store feedback.

✨ Key Features

This platform provides a role-based experience to cater to the needs of every user.

For Users:

  • Authentication: Secure user registration and login.
  • Store Discovery: Browse and search for stores.
  • Rating and Reviews: Submit ratings and detailed reviews for stores.
  • Personal Dashboard: View and manage personal rating history.

For Store Owners:

  • Store Management: Manage their store's profile and information.
  • Rating Analysis: View and analyze ratings and reviews for their stores.
  • Dedicated Dashboard: Monitor store performance and feedback.

For Administrators:

  • User Management: Add, edit, and remove users from the platform.
  • Store Management: Add, edit, and remove stores.
  • Platform Oversight: A comprehensive dashboard to oversee all platform activity.

🛠️ Tech Stack

nextjs

react

typescript

tailwindcss

postgresql

  • Framework: Next.js (React)
  • Language: TypeScript
  • Styling: Tailwind CSS with shadcn/ui
  • Database: PostgreSQL
  • Package Manager: pnpm

⚙️ Installation & Setup

To get a local copy up and running, follow these steps.

Prerequisites

You must have Node.js (v18.17 or later), pnpm, and a running instance of PostgreSQL (or your chosen SQL database).

Setup

  1. Clone the repository:

    git clone [https://github.com/your-username/your-repo-name.git](https://github.com/your-username/your-repo-name.git)
  2. Navigate to the project directory:

    cd your-repo-name
  3. Install dependencies:

    pnpm install
  4. Set up environment variables: Create a file named .env.local in the root and add your database connection string and other required variables:

    DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE"
    NEXTAUTH_SECRET="your-secret-key"
    NEXTAUTH_URL="http://localhost:3000"
    
  5. Run database migrations: (Add instructions here if you are using a migration tool like Prisma or Drizzle ORM)

    pnpm run db:push 
  6. Run the development server:

    pnpm run dev
  7. Open http://localhost:3000 with your browser to see the result.

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.

(Action: Create a file named LICENSE and add the MIT License text.)

About

A full-stack web application built with Next.js and TypeScript that allows users to rate and review stores, with dedicated dashboards for users, store owners, and administrators.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published