Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mayajs/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.
https://github.com/mayajs/maya

angular express framework mayajs nodejs nodejs-server rest rest-api typescript

Last synced: about 1 month ago
JSON representation

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

Lists

README

        


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](https://www.typescriptlang.org/) to take advantage of strong type checking and at the same time preserving support for pure Javascript. It also has support for [MongoDb](https://www.mongodb.com/) and SQL databases.

> **DISCLAIMER:** MayaJS is not a wrapper for `ExpressJS` or `Fastify`. We use our own [routing library](https://www.npmjs.com/package/@mayajs/router) 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](https://nodejs.org/en/download/) before running this command

### If you want a simple routing library like express you can use our own [MayaJS Router](https://www.npmjs.com/package/@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 |

[@mayajs/core]: https://github.com/mayajs/maya
[@mayajs/common]: https://github.com/mayajs/common
[@mayajs/router]: https://github.com/mayajs/router
[@mayajs/cli]: https://github.com/mayajs/cli
[@mayajs/mongo]: https://github.com/mayajs/mongo
[@mayajs/sql]: https://github.com/mayajs/sql

# Documentation

To check out [live examples](https://github.com/mayajs/sample) and docs, visit [mayajs.io](https://mayajs.io).

## Collaborating

See collaborating guides [here.](https://github.com/mayajs/maya/blob/main/COLLABORATOR_GUIDE.md)

## People

Author and maintainer [Mac Ignacio](https://github.com/mackignacio)

## License

[MIT](https://github.com/mayajs/maya/blob/master/LICENSE)