Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ci4-cms-erp/ci4ms-mongodb
We made a modular management system. This system has two database type MongoDB and MYSQL. Very simple coding and you can add your modules and plugins follow with document.
https://github.com/ci4-cms-erp/ci4ms-mongodb
auth authentication codeigniter php rbac roles
Last synced: 3 months ago
JSON representation
We made a modular management system. This system has two database type MongoDB and MYSQL. Very simple coding and you can add your modules and plugins follow with document.
- Host: GitHub
- URL: https://github.com/ci4-cms-erp/ci4ms-mongodb
- Owner: ci4-cms-erp
- License: mit
- Created: 2021-05-10T22:16:57.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-02-01T03:13:02.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T22:00:12.435Z (9 months ago)
- Topics: auth, authentication, codeigniter, php, rbac, roles
- Language: JavaScript
- Homepage:
- Size: 21 MB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Login steps with mongodb in Codeigniter 4
## Features
This is meant to be a one-stop shop for 99% of your web-based authentication needs with CI4. It includes the following primary features:
- Password-based authentication with remember-me functionality for web apps
Flat RBAC per NIST standards, described here and here. - All views necessary for login, registration and forgotten password flows.
- Publish files to the main application via a CLI command for easy customization
- Email-based account verification
## Installation
You must have Mongo Driver and Composer. Follow these links for installation:
**you must do in terminal**
if you are installing to host, you must change file permissions user and group.
chown user:group codeigniter_project_file
if do you want manual install you can follow these steps.
```
mongo
use yourDatabase
db.createUser({
user: "userName",
pwd: passwordPrompt(), // Or "cleartextPassword"
roles: [{role: "readWrite", db: "yourDatabase"}]
});
```
Create a config file at app/Config. File name should be MongoConfig.php.
```
Congratulations!
### Automatic Installation
After made settings. you should go link `http://site/installation` follow form attributes. Finish installation automaticly must detele installation module. If not delete installation module you must follow this steps:
- you must delete
modules/installation
module - you should update
app/Config/Autoload.php
. you will see a note for update.
# In preparation