Quickstart Tutorial
Get up and running with mnnx in minutes using our step-by-step documentation. This guide covers installation, configuration, and your first application setup.
1. Installation
Choose your preferred installation method below to start integrating mnnn into your project:
npm Package
npm install @mnnn/core
For JavaScript/TypeScript projects using Node.js or modern build tools.
Docker Image
docker pull mnnn/runner:latest
Pre-configured container for quick deployment and development environments.
2. Configuration
Set up your environment with the following configuration steps:
API Key Setup
export MNX_API_KEY="your-secure-key"
Set environment variables for authentication and feature activation.
Base Configuration
mnnn init --env=development --region=eu-west-1
Initialize your project with default settings and preferred region.
3. First Application
Create your first application using these simple steps:
- Create a new project directory
-
Generate scaffold code with
mnnn new myapp
- Start the development server
// Example of basic application code
import mnnn from '@mnnn/core';
mnnn.start({
apiKey: process.env.MNX_API_KEY,
region: 'us-east-1'
});
// Your application logic here
Best Practice: Environment Management
Always use .env
files for sensitive configuration rather than hardcoding values.