https://github.com/akunna1/blog-web-app
Akunna Writes: Full Stack Blog Web App for my french, english, igbo, and pidgin stories
https://github.com/akunna1/blog-web-app
backend-api blog crud-application firebase firebase-auth firestore-database full-stack reactjs user-authentication vitejs webdev
Last synced: 6 months ago
JSON representation
Akunna Writes: Full Stack Blog Web App for my french, english, igbo, and pidgin stories
- Host: GitHub
- URL: https://github.com/akunna1/blog-web-app
- Owner: akunna1
- Created: 2024-07-30T15:18:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T04:01:25.000Z (9 months ago)
- Last Synced: 2025-01-31T22:07:22.079Z (8 months ago)
- Topics: backend-api, blog, crud-application, firebase, firebase-auth, firestore-database, full-stack, reactjs, user-authentication, vitejs, webdev
- Language: JavaScript
- Homepage: https://akunnawrites.com
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog-Web-App
Blog Web App for my stories**Terminal commands:**
- npm add firebase**Firebase Configuration**
- Project settings
- click on webapp icon
- Add firebase sdk (copy)
- create firebase folder and config.jsx file in it
- Add firebase sdk to config.jsx
- add firebase authentication using gmail account
- go to firestore database
- add more things to config.jsx
rules_version = '2';service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if true;
}
}
}**Firebase functions**
- addDoc: Adds a new document to a Firestore collection
- getFirestore: Initializes and returns a Firestore instance
- collection: Refers to a specific Firestore collection where documents are stored
- getDocs: Retrieves all documents from a specified Firestore collection
- deleteDoc: Deletes a specific document from a Firestore collection
- Timestamp: Represents a point in time, used for recording dates and times in Firestore
- query: Creates a query object to filter or sort data from a Firestore collection
- orderBy: Specifies a field to order the results of a query in Firestore
- onSnapshot: Sets up a real-time listener for changes in a Firestore collection or document