Today: Simple Azure Static Web and MongoDB Project
Budget: $30 – $250 USD
This small learning project I would like done today ($100)
I am learning MongoDB and its integration with Azure Static Web and Functions this week, I am having some problems figuring a few things out and would like someone to write and comment an example for me and complete it in the next 5-8 hours.
Microsoft made a 15 minute tutorial on this but I do not understand it:
https://www.youtube.com/playlist?list=PL5kXk5ehY1LrmRRe9yWj2CjPCdOpQvkFA
Basically I would like a small program to be written using Azure Static Web App for front End, and Azure Functions for back end to access the CosmosDB MongoDB to create a simple program that just counts clicks per name submitted.
1. Count the amount of clicks for the name submitted
2. Use cookies to save the name until a new one is submitted or user logged out.
3. If name already exist update page and cookie for active name.
4. If name does not exist create new record for the name with a randomID (g4ac98), and cookie for active name. (console.log('New Account Created g4ac98');)
5. When the page is loaded check the cookie to see if a name is saved, if so load data from DB for that name.
6. If logout, clear cookie and clicking no longer tracks the name.
7. Everytime there is a click by a name (not no names), print "Clicked" in the console.log, and open up google.com in a new tab.
DB
All clicks by all names - count
All clicks no names - count
Name - randomID - count
Name - randomID - count
Name - randomID - count
...
Start your proposal with "Counting on It' at the beginning.
I am learning MongoDB and its integration with Azure Static Web and Functions this week, I am having some problems figuring a few things out and would like someone to write and comment an example for me and complete it in the next 5-8 hours.
Microsoft made a 15 minute tutorial on this but I do not understand it:
https://www.youtube.com/playlist?list=PL5kXk5ehY1LrmRRe9yWj2CjPCdOpQvkFA
Basically I would like a small program to be written using Azure Static Web App for front End, and Azure Functions for back end to access the CosmosDB MongoDB to create a simple program that just counts clicks per name submitted.
1. Count the amount of clicks for the name submitted
2. Use cookies to save the name until a new one is submitted or user logged out.
3. If name already exist update page and cookie for active name.
4. If name does not exist create new record for the name with a randomID (g4ac98), and cookie for active name. (console.log('New Account Created g4ac98');)
5. When the page is loaded check the cookie to see if a name is saved, if so load data from DB for that name.
6. If logout, clear cookie and clicking no longer tracks the name.
7. Everytime there is a click by a name (not no names), print "Clicked" in the console.log, and open up google.com in a new tab.
DB
All clicks by all names - count
All clicks no names - count
Name - randomID - count
Name - randomID - count
Name - randomID - count
...
Start your proposal with "Counting on It' at the beginning.