This is an application that allows the dentist to manage his dental office, patients and clinical reports.
This project was generated with:
Name | Version |
---|---|
🐘 PHP | 7.2 |
💎Eloquent | 5.7 |
📦 Composer | Latest |
🐬 MySQL | 8.0.13 |
📡Apache | 2.4.35 |
If you want to emulate this project in your computer, you need some tools and follow the next steps:
- Install Laragon, this is a local development enviroment that you can use with web server software.
- Search this direction
C:\laragon\www
and dowloand this repository (Remember you need to have Git in your computer), write this command in your terminal:
git clone https://github.com/alelles16/dentsoft-back.git
- Jump into the folder doing
cd DentSoft
and install the dependencies doingphp composer.phar install
in the terminal. In order to do this, you will need to have composer in your project. This will install all the dependencies and thrid party plugins that we use for this project, as eloquent and the router module.
⚠ By default, Laragon have MySQL 5.7, but we need the version 8.0. To install MySQL version 8.0, we will need:
- Download MySQL version 8.0 from here.
- Go to the folder in
C:\laragon\bin\mysql
. - Paste and extract the file you just downloaded.
- Go to
Laragon > Right Click > MySQL > Version
and choosemysql-8.0.13-winx64
.
Now, you have to create a new database for the project, you can do this opening Laragon > Right click > MySql > Create a new database
. For the last, import the .sql file to the database. You can do this using HeidySQL in Laragon.
To set the database and other settings you just have to edit the .env
file with you database connection.
🚨 This is an enviroment file hosting all your sensible data such as database host, user and password. Wit this is easier to migrate to another computer the project, and is friendly to use.
✅ LICENSE MIT.