Skip to content

RohittCodes/codemonkeyserver.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shepherd Quine.sh

CodeMonkey Backend is a REST API server for CodeMonkey, a platform to learn and practice coding with AI integrated code editor featuring Shepherd.js for guided tours. The platform is designed to help users learn coding in a fun and interactive way. It is built using Node.js, Express.js, MongoDB, Mongoose, and Gemini API.

Features

  • CodeTools powered by Gemini API
  • Code run powered by Judge0 CE API
  • CodeChimp powered by Gemini API

Installation

  1. Clone the repository

    git clone https://github.com/RohittCodes/codemonkeyserver.js.git
  2. Change the directory

    cd codemonkeyserver.js
  3. Install the dependencies using yarn or any other package manager. (Yarn is recommended)

     yarn
  4. Create a .env file in the root directory and add the following environment variables

     MONGODB_URI={Your MongoDB URI}
     GEMINI_API_KEY={Your Gemini API Key. Get it from Google AI studio}
     JUDGE0_API_KEY={Your Judge0 API Key. Get it from RapidAPI}
     RAPID_API_HOST={Your RapidAPI Host. Get it from RapidAPI}
     CLIENT_URL={Your frontend URL}
     PORT=5000
  5. Start the server

     yarn dev

Tech Stack

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • Gemini API
  • Judge0 CE API

Usage

  • You can use the API endpoints to interact with the CodeMonkey platform. Clone it from here and run the frontend to interact with the server.
  • The server isn't hosted yet. You can host it on platforms like Heroku, Vercel, etc. We'll be hosting it soon.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have any ideas or suggestions. You can also reach out to me on Twitter if you have any questions or feedback.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published