Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
/ dev-hub-legacy Public archive

The legacy version of DevHub. Check out the new version at my profile

License

Notifications You must be signed in to change notification settings

Korabi123/dev-hub-legacy

Repository files navigation

For the best experience go to the current (active) repo of DevHub

DevHub Logo

DevHub

The Ultimate Dev Connection

🛠️ Powered by NextJS

[Project In Development]

💡 Table Of Contents

🔥 Features

  • Profile customization; Want to tell the world something about you? Add a bio. Want to become somebody new? Change username fullname and more.
  • Create & Edit posts; Create posts with cover images and edit them at any time. You can only edit a post that you posted.

🛠️ Technologies Used

  • Next.js 13: A cutting-edge React framework that enables server-side rendering, routing, and more.
  • Tailwind CSS: A highly customizable CSS framework that speeds up UI development.
  • Prisma: A modern database toolkit that simplifies database access with type-safe queries.
  • MongoDB: A NoSQL database for scalable and flexible data storage.
  • TypeScript: A statically-typed superset of JavaScript that enhances code quality and maintainability.
  • Clerk: A modern authentication service that requires almost no setup.

🪄 Localy Running The Project

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/Korabi123/dev-hub.git
  2. Navigate to the project directory:

    cd dev-hub
  3. Install dependencies:

    npm install

Configuration

  1. Configure the env file with the following values:
      # This was inserted by `prisma init`:
      # Environment variables declared in this file are automatically made available to Prisma.
      # See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
     
      # Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
      # See the documentation for all the connection string options: https://pris.ly/d/connection-strings
     
      DATABASE_URL=""
     
     
      # Clerk Auth
      NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
      CLERK_SECRET_KEY=
      NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
      NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
      NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/feed
      NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/feed
       
      # Next Cloudinary
      NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""

Usage

  1. Start the development server:

    npm run dev
  2. Open your browser and navigate to http://localhost:3000 to access the app.

  3. Register a new account or log in if you already have one.

Releases

No releases published

Packages

No packages published

Languages