hoanghm / Proact

2 stars 0 forks source link

Set up an 2 API endpoints for new "missions" generation. #65

Closed hoanghm closed 4 months ago

hoanghm commented 4 months ago
hoanghm commented 4 months ago

Added 2 endpoints:

Both return responses of the format

{
     "new_missions": [
         {
           "id": "...",
           "title": "...",
           "description": "..."
           "steps": "..."
         },
         // ... there can be multiple missions generated
     ]
   }
ogallagher commented 4 months ago

We may not use these endpoints if frontend directly queries the firestore db.