Skip to content

esfiddle/api

Repository files navigation

ESFiddle API


This repo is now stagnant and remains for the old version of ESFiddle. ESFiddle is being redesigned here https://github.com/esfiddle/site. At some point soon we will start creating an API for the new site. At the moment though, we are not accepting PR's on this repo. If you're a previous contributor or just looking to join a new project then feel free to grab an issue from there or reach out on Gitter.


Greenkeeper badge Build Status Join the chat at https://gitter.im/esfiddle/Lobby Pull Requests Welcome first-timers-only Friendly

The ESFiddle API used by the ESFiddle site (https://esfiddle.net) This project is a heavy work in progress. Please take a look at the issues, as this is a new project, there is lots of low hanging fruit, so dive in! We are looking for contributors and maintainers.

Setup

# Clone the repo
$ git clone [email protected]:esfiddle/api.git esfiddle-api

# Go into the repo
$ cd esfiddle-api

# Install the dependencies and build for the first time
$ npm i && npm run build

# Setup the environment
# The default values should work fine, but edit them in the .env to make any changes
$ cp .env.example .env

# Start the project!
$ npm start

# Test
$ npm test

Configuration

Create .env file in root directory using .env.example file.

Documentation

You can find our swagger documentation at https://api.esfiddle.net/docs

Contributing

Check our the contribution guide here: https://github.com/esfiddle/site/blob/master/docs/CONTRIBUTE.md