Nord.js is a fast, familiar backend framework for building RESTful APIs in TypeScript.
Warning This is a very early, experimental prototype; please don't use it in production!
- ⚡️ Extremely fast (based on swc)
- 💪 First-class TypeScript support
- 🗂 File-based routing
- ✅ Built-in data validation
The easiest way to get started is using the degit project scaffolding tool and cloning our example repository, which sets up Nord.js in an Express application:
npx degit AnandChowdhary/nord.js/examples/node-express my-app
Note that you will need to have a supported version of Node.js installed, preferably 16.17.0 LTS. Then, you can enter the newly created my-app
directory and install dependencies:
cd my-app
npm install
To start a local development server, use the nord dev
command and provide your favorite port:
nord dev --port=3000
To start the application in production:
nord start --port=3000 --mode=production
- Getting started
- Configuration
- Routing
- Validation
- Middleware
- Error handling
- Testing
- Static files
- Deployment
- Nord.js source code: MIT © Anand Chowdhary
- Nord.js logo and docs: CC BY 4.0 © Anand Chowdhary
- Nord.js icon: CC BY 3.0 © Chris Kerr from the Noun Project