Skip to content

Latest commit

 

History

History
104 lines (63 loc) · 4.16 KB

README_en.md

File metadata and controls

104 lines (63 loc) · 4.16 KB

Overview

This is the demo app source code for Smart retail provided on the LINE API Use Case site. By referring to the steps described in this article, you can develop a smart retail app using the LINE API.

With the smart retail app, you can purchase and pay for products on the LINE app. Since the user does the checkout process themselves, it also reduces the work load of the store/clerk. In addition, you can use the user ID obtained from the LIFF app after payment to send promotional messages via LINE.

The source code environment introduced on this page uses AWS.

日本語ドキュメントはこちらからご確認いただけます。

Libraries

Node.js

Install Node.js, which will be used for the front-end development, in your local development environment. *We recommend installing the latest LTS version of v10.13 or higher

Node.js download site:

https://nodejs.org/en/download/

Python

Install Python version 3.8 or later if it isn't already installed.

You can check if it's installed by entering this command in Command Prompt or Terminal:

python --version

If Python is installed, the version will be returned. For example:

Python 3.8.3

Install Python (3.8 or higher), used for back-end development, in your local development environment if it's not already installed.

Python installation reference site:

Windows: https://docs.python.org/3/using/windows.html
Mac: https://docs.python.org/3/using/mac.html

AWS SAM

The AWS Serverless Application Model (AWS SAM) is used to deploy this app.

See the official AWS documentation to register and set up an AWS account, and install the AWS SAM CLI and Docker.

*Recommended version of SAM CLI is 1.15.0 or later. *Docker installation is also required, with or without local testing.

Reference points in the official documentation

Complete these items in the official documentation and proceed to the next step. If you have already installed it, you can skip this section.

*This document was created in December 2020 and may be inconsistent with the latest official documentation.

  1. Install AWS SAM CLI
  2. Set up AWS authentication credentials
  3. (Optional) Tutorial: Deploying the Hello World app

SCANDIT License

This app uses a barcode scanner. You can choose between Quagga and Scandit for development. To use Scandit, get a Scandit License Key from the SCANDIT site.

Getting Started / Tutorial

This procedure explains how to create a LINE channel, build the backend and frontend, and check the operation, which are necessary for app development.

See these steps to build your local and production (AWS) environment:




License

All files on Smart Retail are free to use without conditions.

Download and clone to start developing apps using LINE API.

See LICENSE for details. (English)

How to contribute

Thank you for taking the time to contribute. LINE API Use Case Smart Retail isn't different from any other open source projects. You can help by:

When you are sending a pull request, be aware of and accepting the following:

  • Grant the same license to the contribution
  • Represent the contribution is your own creation
  • Not expected to give support for your contribution