Skip to content

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.

Notifications You must be signed in to change notification settings

EricB-59/NurseProject_M12

Repository files navigation

Nurse Project 🏥

Participants:
  • Eric Baena Canto 👨
  • Guillem Sánchez Oliveras 👨
  • Victor Manuel Lucumi Grueso 👨
  • Joel Mesas Hontoria 👨

Description 📰

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.

Installation 🖥️

❗ Pre requeriments ❗

Make sure you have the following tools installed:

Symfony ➡️ 7.1.5
Composer ➡️ 2.7.9
PHP ➡️ 8.1
Git

🚀 Installation steps 🚀

  • 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

API examples

🚑 C R U D 🚑

To execute the following API's we are going to use PostMan to send the requests.

  • Create 📝

67e0b710-8bdd-440a-8273-de7f377e035c

  • Read 📖

1d31da71-0f44-47d0-87ea-0e2182a4f82c

GetAll

75221843-6238-4e59-9e5c-abad89429ad6

Login

19e0c664-d89c-4433-91e3-fd5aa12c62dd

FindName

86a05349-6ec9-4a35-90ee-1e5982322be8

  • Update ♻️

2e0c96f0-5cbc-4810-8241-63951539fdd9

  • Delete ✂️:

d7c4853d-a074-42c4-848b-ae15abc9551e

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •