A simple Node.js framework for creating fast and scalable server-side applications.
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
orFastify
. We use our own routing library and it has capabilities to use third party middlewares.
- 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.
- 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
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 |
To check out live examples and docs, visit mayajs.io.
See collaborating guides here.
Author and maintainer Mac Ignacio