Skip to content

Repository files navigation

Nayra CMS API

Content Management System API (NodeJs, Express & MongoDB) with basic authentication and CRUD of entities. Base for templating in nayra-cli

This is a work in progress.

Installation

Clone repo and run npm install

Usage

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

⚡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.

⚡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

About

node.js Express mongodb api with basic authentication and crud

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages