Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 1.13 KB

README.md

File metadata and controls

63 lines (39 loc) · 1.13 KB

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:https://localhost:5000

Running client

    $ cd client/
    
    #install dependencies
    $ npm install

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

Here are some snaps.

Thanks,

sajda