Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/line/line-liff-v2-starter
This is a small web application that demonstrates the basic functionality of the LINE Front-end Framework (LIFF).
https://github.com/line/line-liff-v2-starter
Last synced: 5 days ago
JSON representation
This is a small web application that demonstrates the basic functionality of the LINE Front-end Framework (LIFF).
- Host: GitHub
- URL: https://github.com/line/line-liff-v2-starter
- Owner: line
- License: apache-2.0
- Created: 2019-10-11T06:56:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T09:45:56.000Z (10 days ago)
- Last Synced: 2024-10-25T06:19:51.984Z (10 days ago)
- Language: JavaScript
- Homepage:
- Size: 1.06 MB
- Stars: 334
- Watchers: 19
- Forks: 374
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-list - line-liff-v2-starter - end Framework (LIFF). | line | 199 | (JavaScript)
README
# LIFF Starter
LIFF Starter is a good starter template can help you understand how to integrate LIFF into your own development environment.
You can check the source code and modify it to implement some cool stuff with LIFF API.
## Getting Start
Install dependencies
```sh
$ npm ci
```You can run local server with:
```sh
$ npm start
```## Build & Deploy
### Deploy the app using 'Deploy to Netlify' button
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/line/line-liff-v2-starter)
1. Click **Deploy to Netlify** above.
2. On the "Create New App" page in Netlify, fill in the required information.
3. Click **Deploy app**.### Build and deploy the app with Netlify CLI tools
1. Install Netlify CLI tool from npm.
```sh
$ npm install netlify-cli -g
```2. Run following command to build project.
```sh
$ LIFF_ID="your LIFF ID" npm run build
```3. Make sure you have signed in your Netlify account.
```sh
$ netlify login
```4. Deploy to Netlify
```sh
$ netlify deploy
```5. Create your site name and choose the source path `dist` to deploy.
6. You can see the stating(draft) site URL, once you confirm it you can deploy it to production stie.
```sh
$ netlify deploy --prod
```## Demo site
You can also check official site before you trying it.
https://liff-starter.netlify.app