ericz02 / chatgpt-clone

building a ChatGPT clone with React using NextJS, Firebase, Tailwind CSS, and Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT Clone with React using Next.js, Firebase, Tailwind CSS, and TypeScript

This repository contains the code for building a ChatGPT clone using React with Next.js, Firebase for real-time database and authentication, Tailwind CSS for styling, and TypeScript for type safety.

Getting Started

Follow the steps below to get the project up and running on your local machine.

Prerequisites

Make sure you have the following tools installed:

  • Node.js (v14 or higher)
  • npm (Node Package Manager)
  • Firebase account and project (for real-time database and authentication)

Installation

  1. Clone the repository:

    git clone git@github.com:ericz02/chatgpt-clone.git
  2. Navigate to project directory

    cd chatgpt-clone
  3. Create a Firebase project and set up the necessary configurations (API keys, authentication, etc.).

  4. Rename the .env.example file to .env.local and fill in your Firebase configuration details.

Usage

Start the development server:

npm run dev

About

building a ChatGPT clone with React using NextJS, Firebase, Tailwind CSS, and Typescript


Languages

Language:TypeScript 81.7%Language:JavaScript 11.9%Language:CSS 6.4%