Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunilksamanta/calmapi
Production ready Modular REST API Generator using NodeJS & MongoDB
https://github.com/sunilksamanta/calmapi
generator hacktoberfest hacktoberfest2023 mongodb mongoose nodejs rest-api
Last synced: about 2 hours ago
JSON representation
Production ready Modular REST API Generator using NodeJS & MongoDB
- Host: GitHub
- URL: https://github.com/sunilksamanta/calmapi
- Owner: sunilksamanta
- License: mit
- Created: 2021-03-29T03:15:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T06:21:37.000Z (8 months ago)
- Last Synced: 2024-04-24T22:19:58.855Z (7 months ago)
- Topics: generator, hacktoberfest, hacktoberfest2023, mongodb, mongoose, nodejs, rest-api
- Language: JavaScript
- Homepage: https://calmapi.dev
- Size: 626 KB
- Stars: 22
- Watchers: 3
- Forks: 10
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Calm API
### Production ready Modular REST API generator using NodeJS & MongoDB
![Calm API](https://repository-images.githubusercontent.com/352502404/d0e11c00-dce4-11eb-80de-9959e403a244)[![npm version](https://badge.fury.io/js/calmapi.svg)](https://badge.fury.io/js/calmapi)
![David](https://img.shields.io/david/sunilksamanta/calmapi)
[![DeepScan grade](https://deepscan.io/api/teams/12352/projects/18169/branches/439384/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=12352&pid=18169&bid=439384)### INSTALLATION
Install by running
```shell
npm i -g calmapi
```
Then run inside your workspace directory
```shell
calmapi
```
And follow the easy steps.### MODULE GENERATION
Generate CalmAPI CRUD Module just by running the following inside project's root.
```shell
calmapi generate module product
```Valid Module generation commands.
```shell
calmapi generate module product
```
```shell
calmapi generate module products
```
```shell
calmapi generate module productMeta
```
```shell
calmapi generate module ProductMeta
```
```shell
calmapi generate module product-meta
```Generate Module name without pluralize
```shell
calmapi generate module test-series --force
```### FEATURES
* Production ready - Controller, Model & Service oriented architecture
* Modules with automated Routing (Nested Route support)
* Built-in Authentication Module with JWT & DB Store authentication
* Built-in User Module
* Built-in Media Module for file upload [AWS S3 Support]
* Build-in CRUD operations for modules with pagination, filters, sorters
* Sample Post Module (CRUD Operation Example)
* **CRUD Module generation command line support.**
* No Hidden sh*ts in your node_modules. Completely free to customize
* Prebuilt CRUD operation classes for Controller & Service
* DTO Support( Data transfer Object)
* Eslint rules enabled
* .env support
* And many more### Contributors
* [Sunil Kr. Samanta](https://github.com/sunilksamanta)
* [Rajdip Mondal](https://github.com/RajdipM)*We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's: Reporting a bug, Documentation, Discussing the current state of the code, Submitting a fix or Proposing new features.*
### Credits
[Thiago Pacheco](https://github.com/pachecoio) for the idea of better NodeJS architechture.