Giter Club home page Giter Club logo

ci4ms's Introduction

wakatime

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

How to Install ?

  1. Let's create the project along with Composer.
composer create-project ci4-cms-erp/ci4ms myproject
  1. Copy the env file in the folder as .env. Then the section that needs to be updated in the .env file is as follows.
php spark env development
...
#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------
app.baseURL = 'https://ci4ms/'

...
#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------

database.default.hostname = localhost
database.default.database = test
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
database.default.DBPrefix = ci4ms_
# database.default.port = 3306

...
#--------------------------------------------------------------------
# HONEYPOT
#--------------------------------------------------------------------

honeypot.hidden = 'true'
honeypot.label = 'Honey Pot CMS'
honeypot.name = 'honeypot_cms'
honeypot.template = '<label>{label}</label><input type="text" name="{name}" value=""/>'
honeypot.container = '<div style="display:none">{template}</div>'

#--------------------------------------------------------------------
# SECURITY
#--------------------------------------------------------------------

security.csrfProtection = 'session'
security.tokenRandomize = true
security.tokenName = 'csrf_token_ci4ms'
security.headerName = 'X-CSRF-TOKEN'
security.cookieName = 'csrf_cookie_ci4ms'
security.expires = 7200
security.regenerate = true
security.redirect = false
security.samesite = 'Lax'
...
  1. After making your adjustments in the ENV file, navigate to the folder in the terminal.
cd myproject
  1. Let's use the codes added to Spark sequentially.
php spark migrate
php spark db:seed Ci4msDefaultsSeeder
php spark create:route
php spark key:generate

Once the installation is successfully completed, you will encounter the initial homepage. You can now develop the theme, build modules, and make additions to bring your project to the desired level.

ci4ms's People

Contributors

bertugfahriozer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bunyaminefe

ci4ms's Issues

Convert Webp in ElFinder

if user want to convert webp any image file, in upload step any image file automaticly convert webp format.

BreadCrumbs

An appropriate breadcrumbs will be generated for pages, blog posts, tags, and categories, which will be integrated into the appropriate location in the default theme.

SEO

  • Automaticly create meta tags
  • Create XML. Choose which blog and pages will be in xml.
  • if you want different categories with xml you can make it.
  • ld+json

Blog Module

  • Blog categories add attribute isActive
  • Blog category crud steps.
  • Blog content crud steps.
  • Blog tags crud steps.
  • blog list
  • blog categories list
  • blog tags list
  • blog comments

Blog Comments modules

Frontend Module

  • Front-End template
  • Reply steps
  • Reply comment and reload page
  • Load More button
  • Load More Button template
  • First loading show max 5 replies when click load more automaticly add other 5. if no more return false and make inactive load more button
  • Replies
  • Load More Button template
  • display max 3 after
  • when click load more button automaticly add other 3. if no more return false and make inactive load more button
  • All reply form captcha will be added. But when click reply button change and display new captcha.

Backend Module

  • Badwords filter
  • Badwords is active or not. If not active automaticly publish comments.
  • Comments waiting for review
  • Review is active or deactive if deactive automaticly publish comments

Templates Module

  • Template file paths
  • Template static Libray and Helpers
  • Template settings
  • Template installing with zip file.
  • Template selection in panel.
  • Template Document
  • Template language files

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.