Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Server

Environment Variables

  • PORT: The port on which the server will run.

Dependencies

  • cors: Middleware for enabling CORS.
  • dotenv: Module to load environment variables from a .env file.
  • express: Web framework for Node.js.
  • mongoose: MongoDB object modeling tool.
  • nodemon: Tool for automatically restarting the server during development.

Scripts

  • dev: Starts the server using nodemon.

Files

  • server.js: Entry point of the server. Connects to the database and starts the server.
  • index.js: Sets up the Express application and middleware.
  • db/dbConnection.js: Contains the function to connect to the MongoDB database.

Example Usage

To start the server, run:

npm run dev

About

Developed an AI coding assistant with real-time collaboration, converting text prompts into live code via the OpenAI/Gemini API.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages