Skip to content

mavi-server/mavi

Repository files navigation

Mavi logo

Documentation (still in progress)

Create an abstracted and extendible server without coding!

This module aims to lift repetitive works that you have made every time building a server from scratch.

What Mavi offers?

  1. Create an advanced REST API and relational database with one json file
  2. Create relations between models and get data with deep level objects (populated) from API
  3. Have essential queries for each route you defined (sort,limit,where,exclude), control/secure them!
  4. Define dynamic queries for deep data levels (populated data)
  5. Define static routes and serve static files (like html pages or server uploads)
  6. Controllers: find, findOne, count, delete, update, create, upload, login, logout , register
  7. Middlewares: authorization, is-owner
  8. Utils: detect language -- will be added more
  9. You can create your own controllers/middlewares/utils too!

These were the fundamentals. There are more features to mention!


Important: Mavi is still in development and not recommend to use in production. Don't hesitate to open an issue if encountered a problem.


this package is still in development