- Simple Line App API Server which allows you to login with Line oauth2 login api, after granting token you can access protected routes
- DEMO
Copyright ยฉ 2020, 11. Released under the MIT License.
- Allow User to sigin with Line Login
- Grant access for User to view shops information
- Protect shop routes with JOSN WEB TOKEN
- Grant access for Adminstrator to login to admin routes
- Grant access for Adminstrator to create & edit & delete shops
JWT_SECRET=
channelID= // line app ID
channelSecret= // line app secert
callbackURL= // line app callback url
MONGODB_URI= // NOSQL MONGODB url
REDIS_URL= // REDIS url
$ git clone https://github.com/libterty/Line-APP-Server.git
$ npm install
๐พ MongoDB
$ mongo
$ mongod
๐พ Redis
$ redis-server
$ npm run seeds
$ npm start
$ npm run lint
$ npm test