Run Project in local machine
./run.sh
-
Fetch all Persons
URI:
/api/v1/persons
, METHOD:GET
-
Fetch a Person
URI:
/api/v1/persons/<id>
, METHOD:GET
-
Delete a Person
URI:
/api/v1/persons/<id>
, METHOD:DELETE
-
Update a Person
URI:
/api/v1/persons/<id>
, METHOD:PUT
-
Create a Person
URI:
/api/v1/persons
, METHOD:POST
- Run the SQL migration under db->schema folder
- Used docker-compose for local development