import Client from "noonjs-client";const client = new Client();const todo = await client.collection("todos").post({ title: "Buy milk" });
Superpowers
CRUD
Automatically generates full Create, Read, Update, and Delete (CRUD) operations for each schema, reducing manual coding efforts.
Full Permissions System
Includes a permission system for fine-grained control over who can access and modify data, providing robust security out of the box.
JWT Authentication with Refresh Tokens
Integrates JWT-based authentication with refresh tokens, ensuring secure user sessions and seamless authentication management.
Client
A ready-to-use API client for JavaScript and TypeScript with built-in authentication, automatic Socket.IO event handling, and instant API access without setup.
Data Validation
noonjs includes built-in data validation for both incoming and outgoing data, ensuring that all data conforms to the specified schemas and constraints.
Default Value
noonjs supports auto-managed fields, such as automatically incrementing values or assigning fields related to the current user (e.g., user ID or timestamp), reducing the need for manual configuration.
Built like a tank
Express
Built on top of Express, a minimal and flexible Node.js web application framework, ensuring a solid and reliable foundation.
MongoDB
Leverages Mongoose for elegant MongoDB object modeling, simplifying schema definitions and data validation.