Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nayracoop/nayra-cms-api

node.js Express mongodb api with basic authentication and crud
https://github.com/nayracoop/nayra-cms-api

api-rest docker-compose express node

Last synced: 11 days ago
JSON representation

node.js Express mongodb api with basic authentication and crud

Awesome Lists containing this project

README

        

# Nayra CMS API

Content Management System API (NodeJs, Express & MongoDB) with basic authentication and CRUD of entities. Base for templating in [nayra-cli](https://github.com/nayracoop/nayra-cli)

:sparkles: **This is a work in progress.** :sparkles:

## Installation

Clone repo and run
**`npm install`**

## Usage

:zap:To create a new super-admin user run
**`npm run cms-init`**
and provide information about project name (WIP) and user to be created.

:zap:To create new resources inside API (with model, endpoints and tests), run
**`npm run cms-add-resource`** and provide information about new entity's name and model's fields names and type.

:zap:Run
**`npm run dev`**
to start the API in dev environment.

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[GPL-3.0] GNU General Public License v3.0