Skip to content

likecoin/likecoin-button

Repository files navigation

likecoin-button

CircleCI Greenkeeper badge

Link based LikeButton on firebase functions + hosting

Introduction

For introduction ot LikeCoin button, please refer to user guide here.

Documentation

Please refer to developer guide and integration guide.

Folder structure

├── functions
│   ├── dist # auto generated dist ver by babel
│   ├── modules # aux helpers
│   ├── nuxt # auto generated nuxt directory
│   ├── ssrapp.js # handle nuxt SSR logic
│   └── index.js # import all other functions
├── public_base # public static content, will be merged with nuxt build
├── public # auto generated static content folder from nuxt and public_base
├── src # Actualy nuxt project, where development should happen
├── .firebaserc # define firebase project
└── firebase.json # firebase related settings

Dev Setup

# switch to nuxt project directory
$ cd src

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm start

Deploy

# deploy everything
$ firebase deploy