Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 760 Bytes

File metadata and controls

29 lines (16 loc) · 760 Bytes

Backend docs

This directory contains the backend code for our application, which is built using Express.js. The backend is responsible for handling openai API requests, managing data, and serving as the server for our application.

Enviroment Variables

  1. The .env file contains the api_key for openai API.

Getting Started

Before running the server, make sure you have Node.js and npm (Node Package Manager) installed on your system.

Installation

  1. Open your terminal and navigate to this directory:

    cd path/to/backend
    

Run npm install in the terminal

  1. To install all the dependencies for the project.

Run npm start

  1. To start the app.

PORT

  1. The server is running on port : 8000