COP4331C-17Fall 0001 Group 19
- install Docker
- download Project folders
- create
bin/secret.lua
with the following contents:
return "CHANGE_ME"
- run
docker volume create postgres-data
- run
docker-compose -f ./docker-compose.development.yml up --build
- navigate to
http://localhost/EmployeeTracker
POST /login
POST /signup
GET /user
{
"success": true,
"result": [
{
"first_name": "",
"email": "[email protected]",
"last_name": "",
"id": 1
},
{
"first_name": "",
"email": "[email protected]",
"last_name": "",
"id": 2
},
{
"first_name": "John",
"email": "[email protected]",
"last_name": "Doe",
"id": 3
}
]
}
GET /user/{USER_ID}
{
"success": true,
"result": {
"first_name": "John",
"email": "[email protected]",
"last_name": "Doe",
"id": 3
}
}
GET /group
GET /group/{GROUP_ID}
GET /location/{USER_ID}
POST /location/report (Double x, Double y)