Reference implementation of the "External Data Network" Node specification.
git clonethis repository- Run
npm installin the project root - Create a copy of the
.env.examplefile and rename it to.env - Update the
.envfile if necessary
- Create a
.edndirectory in the project root - Create a
jobs.tsfile in the.edndirectory - Create a
registrydirectory in the.edndirectory
The .edn directory structure should look like this:
.
+-- .edn
| +-- registry
| +-- jobs.tsCopy the following code into your jobs.ts file and update it with your JobConfigs.
import { JobConfig } from '../src/types'
const jobs: JobConfig[] = [
{
// Your `JobConfig` here
}
]
export = jobsRun npm run dev in the project root to start the server. The server will automatically reload when file changes are detected.
# Setup
npm install
# Development
npm run dev
# Build
npm run build
# Test
npm run test
# Format
npm run format
# Lint
npm run lint
# Clean
npm run clean