Actualiser README.md

This commit is contained in:
Tenzing Kandang 2026-03-13 11:32:26 +01:00
parent 7be681e328
commit 79d4043199

View File

@ -1,6 +1,7 @@
# GRABBER # GRABBER
Grabber is a program that "grabs" informations about the computer. You can then acces this information from a web page. It can also grab employee data which you can add/delete through a formulaire page, stored in SQL, which can be used later for many to many connection. Users can be assigned to one or more computers. Grabber is a program that "grabs" informations about the computer. You can then acces this information from a web page.
It can also grab employee data which you can add/delete through a formulaire page, stored in SQL, which can be used later for many to many connection. Users can be assigned to one or more computers.
## How to run the server ## How to run the server
@ -13,11 +14,12 @@ Then start the server with uvicorn
You should now be able to visualize the pages after running `sudo bash grabber.sh localhost` on your localhost:8000. You should now be able to visualize the pages after running `sudo bash grabber.sh localhost` on your localhost:8000.
**Pages references:**
localhost:8000/ordi/{id} **"List of information on the computer"** ###Pages references:###
localhost:8000/employees **"List of employees"** - localhost:8000/ordi/{id} **"List of information on the computer"**
localhost:8000/employee/create **"Formulaire to add an employee"** - localhost:8000/employees **"List of employees"**
localhost:8000/employee/{id}/delete **"Delete selected employee"** - localhost:8000/employee/create **"Formulaire to add an employee"**
- localhost:8000/employee/{id}/delete **"Delete selected employee"**