sajdakabir / codeX

Your coding and study partner . Made with JavaScript,OpenAI API and nodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeX

CodeX is your new coding and study partnet. Where you can any coding and study-related questions.

In another way, it's a small version of chatGPT made using openAI API

Tech Stack

Server: Node JS, Express JS

API: openAI API

Front-end: HTML ,CSS ,Javascript

Setup

To run locally, make sure to create a .env file and copy variables from example.env and give them valid values as well.

Clone the project
  $ git clone <repo url>
Go to the project directory
  $ cd codeX

Running backend

    $ cd server/ 
    
    #install dependencies
    $ npm install

    #Start the server
    $ npm run server  //Server will run on http://localhost:5000

Running client

    $ cd client/
    
    #install dependencies
    $ npm install

    #Start the client
    $ npm run dev  // Client will run on http://localhost:5173/

Here are some snaps.

Thanks,

sajda

About

Your coding and study partner . Made with JavaScript,OpenAI API and nodeJS


Languages

Language:JavaScript 53.1%Language:CSS 37.3%Language:HTML 9.1%Language:Shell 0.5%