Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nayracoop/nayra-cms-api
- Owner: nayracoop
- License: gpl-3.0
- Created: 2019-09-27T19:02:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T18:45:49.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T03:26:07.767Z (over 1 year ago)
- Topics: api-rest, docker-compose, express, node
- Language: JavaScript
- Size: 1.91 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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