Skip to content

Igo.jsFull-stack Node.js Web Framework

Built on Express 5 — ORM, templates, reactive frontend, all included.

Getting Started

sh
npx @igojs/server create myproject
cd myproject
npm install
npm start

Open http://localhost:3000 and start coding.

Configuration

The configuration is located in /app/config.js and initialized at startup:

js
const config = require('@igojs/server').config;

Environment variables can be defined in a .env file (loaded via dotenv):

txt
MYSQL_DATABASE=mydatabase
REDIS_HOST=localhost

Project Structure

myproject/
├── app/
│   ├── config.js       # Configuration
│   ├── routes.js       # Route definitions
│   ├── controllers/    # Request handlers
│   ├── models/         # Database models
│   └── helpers.js      # View helpers
├── views/              # Dust templates
├── public/             # Static assets
├── sql/                # Database migrations
├── locales/            # i18n translations
├── test/               # Test files
└── .env                # Environment variables

Released under the ISC license.