Administrative application for HOAP Inc, built by a team of developers during Code For Good West Michigan's weekend for good, 2019.
This project requires that you have access to composer on your machine as well as a MySQL database instance so that you can migrate the schema and seed the data required.
Notice: I am almost positive that these installation docs are not complete. Please update this list with relevant information if you can.
composer install
in order to download your vendor
folder..env
file. If you do not, then copy .env.example
to .env
in your directory.env
file's DB
information with whatever needs to be filled out in order to make a connection.php artisan migrate
in order to create your needed database schemaphp artisan db:seed
to seed the database.php artisan serve
in order to serve the application locally.The general method that I use to create the database and user for the database are the following commands below. You will either want to use the root user or a super administrator user for this:
CREATE SCHEMA `hoap_admin` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ;
CREATE USER 'hoap_admin_user'@'localhost' IDENTIFIED BY 'password_here'
where 'password_here' is whatever password you want your application's user to have.
GRANT ALL ON hoap_admin.* TO 'hoap_admin_user'@'localhost'
Voyager allows us to change the controller namespace. This ultimately lets us fully control all aspects of our application by allowing us to make any changes we would like to the controllers themselves, and ultimately, the views.
While this is good information, we are currently not performing any controller overrides through config.
The items listed below are the general models that are available to have administrative (i.e. CRUD) actions performed on them.
Actions that some people/users can take in our application that should be able to be recorded.
Statistical data relating to the model that the demographic is for. The demographics listed below will have
ParticipantDemographic
ChildDemographic
DonorDemographic
VolunteerDemographic ( Not really sure if this will be needed )
Developers Note: I haven't really scoped out if there is a need for the separation of these demographic entities, but we'll see.
Aside from the specific metrics that are listed with the individual demographic, each demographic should also include the following items:
CSV dumps of model data.
In order to create an administrator user, you must use the command:
php artisan voyager:admin --create
and then go through all of the steps needed
To the people listed below, thank you for helping to make this project become a reality for HOAP Inc.
This project was made with Laravel 6.x