Web application for recording medications in a health agency.
- Laravel 10
- MySQL
- (optional) Docker to create MySQL database in container
- TailwindCSS + DaisyUI for styling
Download the SQL dump file here.
- Download the repo.
- Create
.env
file with.env.example
file. Copy the db env variable below.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=medicsdb
DB_USERNAME=laravel
DB_PASSWORD=password
- Import the sql dump file to the mysql database in your local computer.
- Install app dependencies by typing command
composer install
andnpm install
in the terminal. - Run command
npm run dev
in the terminal. - Run the app by typing command
php artisan serve
in the terminal. - That's it! The app is already running. You can access it with your local browser by visiting http://localhost:8000.