Skip to content

kylemart/employee-tracker-backend

Repository files navigation

employee-tracker-backend

COP4331C-17Fall 0001 Group 19

Usage

  1. install Docker
  2. download Project folders
  3. create bin/secret.lua with the following contents:
return "CHANGE_ME"
  1. run docker volume create postgres-data
  2. run docker-compose -f ./docker-compose.development.yml up --build
  3. navigate to http://localhost/EmployeeTracker

Routes

System

POST /login

POST /signup

Users

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
	}
}
Groups

GET /group

GET /group/{GROUP_ID}

Locations

GET /location/{USER_ID}

POST /location/report (Double x, Double y)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published