AI Skills · Module 2.2

In this tutorial, you will learn to code a working web application with AI that has custom online communication features. Then, we will deploy and host it on a free server, making it accessible from anywhere. This constitutes the process of not only prompting the code for the front-end of a private application, but also setting up its back-end.

Steps

  1. Use the manual to set up the required tools on your laptop or PC.
  2. Prompt the AI to create the front-end of a private, interactive online dashboard app (defining functions and setting a password).
  3. Connect it to a Google Firebase account and host the back-end on a free server.
  4. Troubleshoot and iterate when the AI makes mistakes, causing the codebase or online hosting not to work as intended.
  5. Define your app's security measures in the Google Firebase interface.
  6. Share the link with your team or other users, test it, and then improve it. Build on the skills you've learned by creating more custom web applications for professional use.

Tools

  • AI coding assistant
  • Google Firebase

Firestore Rules

rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
function isDashboard() {
return request.auth != null
&& request.auth.uid == 'PASTE_YOUR_UID_HERE';
}

match /{document=**} {
allow read, write: if isDashboard();
}
}
}