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. ✨
Clone repo and run
npm install
⚡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.
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.
[GPL-3.0] GNU General Public License v3.0