Table of Contents
- 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.
- Latest Node.js LTS
- Supabase database
- Judge0 Compiler RapidAPI account
# 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
This project is heavily based on the nextjs-postgres-auth-starter
- React
- TypeScript
- TailwindCSS for utility CSS classes
- Next-Auth for authentication
- Supabase for PostgreSQL database hosting
- Prisma for database ORM
- ESLint configured with some initial rules
- Prettier to enforce consistent code style
- SYNC INTERN's gave me the energy to do this project
- CodeRun Icon