Skip to content

chatotp/frogbar-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frogbar Server

Requirements

The versions represent the versions used during the development phase.

  • pnpm [9.14.2]
  • Node.js [22.9.0]
  • GEMINI_API_KEY

Running the server

  1. Set cors address of server to your domain or IP on which client is hosted.
const io = new Server(httpServer, {
    cors: {
        origin: "http://localhost:5173"
    }
})
  1. Set your GEMINI_API_KEY by creating a
  • .env file (change <GEMINI_API_KEY> with your token)
GOOGLE_GEN_AI_KEY=<GEMINI_API_KEY>
  • environment variable GOOGLE_GEN_AI_KEY (not recommended)
  1. Install dependencies
pnpm install
  1. Run the server using following command:
  • Dev Environment:
pnpm run dev
  • Production Environment:
pnpm run start

About

Server of Project Frogbar

Resources

License

Stars

Watchers

Forks