ad440-cloud-project / API

Azure Functions API Repo
0 stars 0 forks source link

Setup/Configure Azure Functions #4

Closed JLaveta closed 5 years ago

JLaveta commented 5 years ago

Create an initial API using Azure functions.

For now, this can just be a sample API. The point of this task is to get some sort of API demo up and running and to get Azure Functions configured properly.

Eventually, we will need to have this API get a temporary SAS token from Azure Storage so files can be uploaded.

gshields5541 commented 5 years ago

Yes, I think that’s was what I was trying to do with file-upload-service.js

Gerald

On May 20, 2019, at 12:06 PM, John Laveta notifications@github.com wrote:

Create an initial API using Azure functions.

For now, this can just be a sample API. The point of this task is to get some sort of API demo up and running and to get Azure Functions configured properly.

Eventually, we will need to have this API get a temporary SAS token from Azure Storage so files can be uploaded.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ad440-cloud-project/API/issues/4?email_source=notifications&email_token=AE2C4EMO33IPDZG3MHZEXLLPWLZCLA5CNFSM4HOETUXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUZO4KA, or mute the thread https://github.com/notifications/unsubscribe-auth/AE2C4EPVTQNOICOK2GK6D43PWLZCLANCNFSM4HOETUXA.

JLaveta commented 5 years ago

Sample API, from the basic Azure tutorial is up and running:

https://ddfnapp.azurewebsites.net/api/hello/?name=Dave

The Azure Functions resource had already been created, so reading through the tutorial and configuring a few small things only took about half an hour.

Total time: 30 minutes

gshields5541 commented 5 years ago

Yes, I created the functions, though please check a little bit. It took me about an hour

Gerald

Sent from my iPad

On May 25, 2019, at 2:33 PM, John Laveta notifications@github.com wrote:

Sample API, from the basic Azure tutorial is up and running:

https://ddfnapp.azurewebsites.net/api/hello/?name=Dave

The Azure Functions resource had already been created, so reading through the tutorial and configuring a few small things only took about half an hour.

Total time: 30 minutes

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

gshields5541 commented 5 years ago

Are you using this tutorial ? https://docs.microsoft.com/en-us/azure/storage/blobs/storage-upload-process-images?tabs=nodejsv10

Sent from my iPad

On May 25, 2019, at 2:33 PM, John Laveta notifications@github.com wrote:

Sample API, from the basic Azure tutorial is up and running:

https://ddfnapp.azurewebsites.net/api/hello/?name=Dave

The Azure Functions resource had already been created, so reading through the tutorial and configuring a few small things only took about half an hour.

Total time: 30 minutes

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

JLaveta commented 5 years ago

No, I am not following that tutorial, though it looks like there is some useful information in there, so thanks for sharing!

Toddy wants us to use an API to generate a SAS token in order to grant read/write access to the storage container. The tutorial you linked appears to use a different solution. I have been working on SAS token generation. Once I have that figured out, it should just be a matter of calling the API.

JLaveta commented 5 years ago

Closing as API has been fully created.

Total time was 30 minutes.