BioCompute Quick Start Guide
Get up and running with BioCompute in minutes. This guide walks you through the essentials to start using our decentralized biological computation platform.
Getting Started
Prerequisites
- Node.js 18+
- Internet connection (required for node registration)
Installation
npx create-biocompute-app@latest
This command will scaffold a new project with all necessary dependencies.
First Steps with BioCompute
1. Initialize Project
npx create-biocompute-app@latest my-biocompute-app cd my-biocompute-app npm install
This generates a base project structure for your BioCompute research application.
2. Run Example Project
npm run dev
Launches development environment for testing BioCompute features.
3. Access API Docs
Visit our interactive API docs at http://localhost:8080/docs to explore available endpoints.
4. Deploy Secure Node
Use the deploy node
command once your tests pass to join the global network.
npm run deploy --node-type=researcher
Example Code Snippet
import BioCompute from 'biocompute-sdk';
const client = new BioCompute.Client();
// Submit genomic task for processing
client.submitTask({
type: 'protein-folding',
datasetId: 'P123456',
encryptionKey: 'AQ128x7z',
computeNodes: 4
})
.then(result => {
console.log('Secure result:', result.analysis);
})
.catch(error => {
console.error('BioCompute processing failed:', error);
});
Full API reference available in our documentation
What's Next?
Continue exploring advanced BioCompute features like federated learning and quantum-safe encryption.