Giter VIP home page Giter VIP logo

vue-posts's Introduction

Alt Text

An application that allow users to post-notes, built on top of vue.js and realtime-firebase-database!

Access Live Application - https://hackernews-4eb03.firebaseapp.com/

forthebadge

Instructions To Run:

npm install

cd src

vue serve

forthebadge

App Featues

  • Handle and manage state for your app using Vuex. You'll also understand why a central store is important for building large- scale apps.
  • Maintain reactivity within your app by utilizing built-in Vuex features.
  • Authenticate routes with vue-router.
  • Read/write to a database using Firebase's Cloud Firestore.
  • Set up authentication using Firebase.
  • Leverage components, one of the more powerful features of Vue.js.
  • Familiarize yourself with core Vue.js concepts.

forthebadge

Setting Up a Database With Firebase Cloud Firestore

I have made use of Cloud Firestore. Please follow the below-mentioned instructions to configure it.

  • To create a Firebase project, go to the Firebase Console and click “add project.” Give it a name, then click “create project.” Click “Add Firebase to your web app.” Be sure to copy this code. You will need it later when you set up the firebaseConfig.js file.

  • Click “Authentication” in the left-hand navigation, then “Set sign-up method,” then “email/password.” Enable and save.

  • Select “Database.” Click “Get started” for Cloud Firestore (currently in beta). Start in test mode and enable so anyone can read/write to the database. You will add basic security rules later.

  • Implement security : Go to your project's Firebase console and click on “Database” then select the “Rules” tab at the top next to “Data.” Then update your security rules and click “Publish.


service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read;
      allow write: if request.auth.uid != null
    }
  }
}

vue-posts's People

Contributors

divyanshu-rawat avatar

Stargazers

 avatar

Watchers

 avatar  avatar

vue-posts's Issues

Add Travis CI

Travis CI is a hosted, distributed continuous integration service used to build and test software projects hosted at GitHub. Open source projects may be tested at no charge via travis-ci.org.

Adding .travis.yml will do the job. 👍

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.