This is a Geographic Information System (GIS) Web Application. Created using Codeigniter 4 with Myth/Auth for user authentications.
CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More information can be found at the official site.
This repository holds a composer-installable app starter. It has been built from the development repository.
More information about the plans for version 4 can be found in the announcement on the forums.
The user guide corresponding to this version of the framework can be found here.
Myth/Auth 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
- Debug Toolbar integration
- Email-based account verification
Using terminal, run git clone https://github.com/j03hanafi/desa-1000-rumah-gadang.git
, go inside the directory with cd desa-1000-rumah-gadang
, then composer install
to set up Codeigniter 4 framework.
When updating, check the release notes to see if there are any changes you might need to apply
to your app
folder. The affected files can be copied or merged from
vendor/codeigniter4/framework/app
.
Copy env
to .env
and tailor for your app, uncomment all necessary settings.
Set CI_ENVIRONMENT = development
(for development features).
Set app.baseURL = 'http://localhost:8080/'
.
Set any #DATABASE
settings
Open terminal, run php spark migrate -all
to create all needed tables.
Run php spark db:seed BaseSeeder
to fill data into all tables.
Execute php spark serve
to start application locally.
This application came with few users to use authentication functionality.
Username | Password | |
---|---|---|
[email protected] |
accuser1 |
akunaku1 |
[email protected] |
accuser2 |
akunaku2 |
[email protected] |
accuser3 |
akunaku3 |
[email protected] |
accuser4 |
akunaku4 |
[email protected] |
accowner1 |
akunaku5 |
[email protected] |
accowner2 |
akunaku6 |
[email protected] |
accadmin1 |
akunaku7 |