- Eric Baena Canto 👨
- Guillem Sánchez Oliveras 👨
- Victor Manuel Lucumi Grueso 👨
- Joel Mesas Hontoria 👨
The propouse of the project is to manage and controll a group of nurses from a hospital. We manage their information and save it to follow up about their updates. In this project we apply a CRUD for the doctors where you can create, read, update and delete them. Also, we work with a cloud database where we save all the information.
Make sure you have the following tools installed:
Symfony ➡️ 7.1.5
Composer ➡️ 2.7.9
PHP ➡️ 8.1
Git
- Clone the repository
git clone https://github.com/EricB-59/NurseProject_M12
cd NurseProject_M12
- Install dependencies
composer install
- Configure enveiroment variables
Create a copy of the .env
file and rename it .env.local
. Then, edit the variables based on your local settings (such as database access).
cp .env .env.local
- Configure database
Make sure the database connection details in
.env.local
are correct and then create the database:
php bin/console doctrine:database:create
php bin/console doctrine:schema:update --force
- Throw the development server If you had installed CLI of Symfony, you can throw the server with:
symfony serve
- Access the project
Open the browser and search
http://localhost:8000
Additional comands
- Execute migrations:
php bin/console doctrine:migrations:migrate
- Install assets:
php bin/console assets:install
To execute the following API's we are going to use PostMan to send the requests.
- Create 📝
- Read 📖
- Update ♻️
- Delete ✂️: