Skip to content

codecon-dev/codecodes-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

705629d ยท Mar 14, 2025
Jul 29, 2024
Sep 7, 2024
Mar 14, 2025
Aug 2, 2024
Jul 29, 2024
Sep 5, 2024
Jul 29, 2024
Aug 14, 2021
Jul 29, 2024
Jul 29, 2024
Jul 29, 2024
Jul 29, 2024
Sep 7, 2024
Jul 29, 2024
Jul 25, 2024
Jul 29, 2024
Sep 7, 2024

Repository files navigation

๐Ÿ“Ÿ Code-Codes - API

Build - Deploy https://img.shields.io/badge/made%20with-express-blue

This is the API version of the CodeCodes gamification Discord Bot.

You can check the available routes and methods by accessing /docs in the API URL (which is secret for now).

Setup

  • Have Node.js v18.17.1 or later installed (nvm is recommended)
  • Have Yarn installed (npm -g i yarn)
  • Clone the repository
  • Copy the .env.example file to .env and fill in the necessary environment variables (or request them from someone)
  • Run yarn to install the dependencies
  • Import insomnia.json into Insomnia / Postman / Thunder Client (VSCode)

Running

  • Run yarn dev to start the development server
  • Optionally, you can run yarn test to run tests
  • For production, you can run yarn build and then yarn start
  • Once the server is running, you can access the API documentation at http://localhost:8080/docs