KingsleyChimezie / be-my-valentine

Simple web based 'be my valentine' invitation, utilising Firebase's Cloud Firestore Database.

Home Page:https://demo.kingsley.tech/be-my-valentine/app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Be My Valentine 🌹

Intro 🎀

A simple web project with a clean UI... For that special someone on valentine's day πŸ˜‰.

Happy Valentine's Day 2021 πŸ’˜.

Project πŸ‘¨πŸΏβ€πŸ’»

Using Firebase and Cloud Firestore database, this project allows you to interactively ask the user to be your Valentine.
I've left some console logs in my code, to show all data being retrieved from (and sent to) Cloud Firestore and any errors.
Note: as this is just a basic project, I didn't implement any authentication / security logic.

Data stored in Cloud Firestore database:

  • User's answer from a button click (yes/no)
  • User's timestamp at the time of answer
  • User's public IP

Demo

Made with ❀ using:

Prerequisites βœ…

  1. You'll need a Firebase account
    • Create or use existing project
    • Make sure Cloud Firestore database is enabled

Guide πŸ“ƒ

  1. Complete the Prerequisites
  2. In settings.js:
    • Add your Firebase config, make sure the object name is firebaseConfig. Here's an example:
      const firebaseConfig = {
          apiKey: "AIzaSyDOCAbC123dEf456GhI789jKl01-MnO",
          authDomain: "myapp-project-123.firebaseapp.com",
          databaseURL: "https://myapp-project-123.firebaseio.com",
          projectId: "myapp-project-123",
          storageBucket: "myapp-project-123.appspot.com",
          messagingSenderId: "65211879809",
          appId: "1:65211879909:web:3ae38ef1cdcb2e01fe5f0c",
          measurementId: "G-8GSGZQ44ST"
      };
      
    • Fill in your values for firestore and uiData objects

License πŸ“œ

  • MIT

See LICENSE.md

Versions πŸ”’

Acknowledgments πŸ‘

People πŸ‘₯

Name Title Authority Level Website
Kingsley Chimezie Author + Admin + http://www.kingsley.tech

Title and authority level definitions.


Β© Kingsley Chimezie | Kingsley Chimezie Creations

About

Simple web based 'be my valentine' invitation, utilising Firebase's Cloud Firestore Database.

https://demo.kingsley.tech/be-my-valentine/app/

License:MIT License


Languages

Language:JavaScript 39.4%Language:HTML 35.1%Language:CSS 13.5%Language:SCSS 12.0%