/maya

MayaJS is not a wrapper for ExpressJS or Fastify. We use our own routing library and it has capabilities to use third party middlewares.

Primary LanguageTypeScriptMIT LicenseMIT

A simple Node.js framework for creating fast and scalable server-side applications.

Version Downloads License Code Style

MayaJS is designed for simplicity and ease of use for beginners. It is built using Typescript to take advantage of strong type checking and at the same time preserving support for pure Javascript. It also has support for MongoDb and SQL databases.

DISCLAIMER: MayaJS is not a wrapper for ExpressJS or Fastify. We use our own routing library and it has capabilities to use third party middlewares.

Installation

  • Run npm i @mayajs/cli -g to install MayaJS globally in your local machine.

    Install the latest Node.js stable build before running this command

If you want a simple routing library like express you can use our own MayaJS Router.

Quick Start

  • Run maya new my-new-app.
  • Run cd my-new-app to go inside your project folder.
  • Run maya serve to start your MayaJS project.

In the case where the port number is already in use or in the case when you want to run it on a different port number, use --port to specify a different port. i.e. maya serve --port=4444

Ecosystem

Project Description
@mayajs/core MayaJS core library
@mayajs/common MayaJS common modules
@mayajs/router NodeJS routing library
@mayajs/cli Project scaffolding
@mayajs/mongo MongoDB Plugin
@mayajs/sql SQL Plugin

Documentation

To check out live examples and docs, visit mayajs.io.

Collaborating

See collaborating guides here.

People

Author and maintainer Mac Ignacio

License

MIT