Skip to content

An online simple code compiler for different languages built with Next.js and Supabase

License

Notifications You must be signed in to change notification settings

Carbowix/CodeRun

Repository files navigation

CodeRun

An online simple code compiler for different languages built with Next.js and Supabase

license mit CodeRun version
Discord server

View Demo · Report Bug · Request Feature

Table of Contents
  1. Features
  2. Getting Started
  3. Technologies
  4. Showcase
  5. Acknowledgements

Features

  • Code Sharing Made Easy: Share your code snippets effortlessly with others.
  • Multi-Language Support: Our online code compiler supports a wide range of programming languages, including C, C++, Java, JavaScript, Python, Ruby, and many more. You can choose the language that best suits your needs from a diverse selection of over 30 programming languages.

Getting Started

Prerequisites

Installation

# Clone repo
git clone https://github.com/Carbowix/CodeRun.git

# Install the required packages
## Using NPM
npm install

## Using yarn (preferred)
yarn install
  • Add your Supabase, Next-Auth, and Judge0 Compiler details to .env.example (don't forget to rename .env obviously)

  • Push and generate the prisma schema

## Using NPM
# Generate schema
npm run postinstall
# Push schema to database
npm run prisma:push

## Using yarn (preferred)
# Generate schema
yarn postinstall
# Push schema to database
yarn prisma:push
  • Run the application on development mode
## Using NPM
npm run dev

## Using yarn
yarn run dev

Technologies

This project is heavily based on the nextjs-postgres-auth-starter

Showcase

Acknowledgements