Daltz333 / COSC-481W

0 stars 0 forks source link

Implement database API #11

Open Daltz333 opened 1 year ago

Daltz333 commented 1 year ago

Basically, a HTTP server that accepts the following parameter

myip:443/api/v1/grout?hex=FFFFFF

where hex is the hexadecimal return. the output should be a JSON response similar to the following

{
   "color": "FFFFFF",
   "uri": "https://google.com"
}

if the request is invalid, we should return http error code 400.

The language can be w/e. Java/C#/Python/React/etc the developer is comfortable with.

Daltz333 commented 10 months ago

I'm going to work on getting the stuff over in api/project buildable into a standalone jar and see if it works over on the server. If it does, we can deploy it and directly start integrating it application side.

We still do need someone to do the grunt work of adding all the color entries to the database.

Daltz333 commented 10 months ago

I poked it a bit but I can't seem to get it to run. Is the project functional?