Welcome to the Blood Bucket, a platform designed to facilitate blood donation and save lives. This Readme provides essential information for users.
-
User Registration: Users can create accounts, complete profiles, and manage their donation or blood-receiving history.
-
Search and Donation Matching: Find blood matches with donors based on blood type and location.
-
Educational Resources: Access information on the importance of blood donation and health benefits.
To run this system locally, follow these steps:
-
Clone the repository:
git clone https://github.com/charlie0x01/blood-bucket.git
-
Find the
.env.example
file in the root of the project and rename this file to.env
-
Navigate into your project in the terminal and run
composer install
to install dependencies. -
Install dependencies:
npm install
-
You must create your database on your server and on your
.env
file to update the following lines.DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret
-
Artisan Commands The first thing we are going to do is set the key that Laravel will use when doing encryption.
php artisan key:generate
-
run
php artisan migrate
to create database tables -
run
php artisan db:seed
to fill the database with demo credentials -
run
npm run dev
-
Storage:link After your project is installed you must run this command to link your public storage folder for user avatar uploads:
php artisan storage:link
- run
php artisan serve
to run the project.
Admin: [email protected]
Password: secret
MIT