Giter VIP home page Giter VIP logo

groksrc-search's Introduction

groksrc search

groksrc search is a demo project that shows you how to set up nuxt.js on Firebase

Live Demo: https://search.groksrc.com or https://groksrc-nuxt-490a2.firebaseapp.com

Things to know

This nuxt.js issue was very helpful: nuxt/nuxt#1634

You might also like David East's video: https://www.youtube.com/watch?v=ZYUWsjUxxUQ

This project does not follow the video. Instead inspiration is taken from qm3ster in the comments on nuxt.js issue #1634.

Getting Started

Make sure you have the Firebase CLI installed. If you want to recreate this project from scratch you'll also need the Vue CLI tools.

Setup

# install external dependencies
$ npm install -g firebase-tools
$ npm install -g vue-cli # optional
$ git clone [email protected]:groksrc/groksrc-search.git

Install

# install project dependencies
$ yarn install # or npm install

# before you deploy you must init the project with your firebase project to create a .firebaserc
# NOTE: this command may overwrite firebase.json. Make sure that no important lines are lost
$ firebase init

Run

# serve with hot module reload at localhost:3000
$ yarn dev

# compile for Firebase
$ yarn package-functions

# serve via the firebase cli to test locally
$ firebase serve --only hosting,functions

Publish

# build for production and push live
$ yarn push

For detailed explanation on how things work, checkout my blog article about this project.

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.