Authentication Twitter using vue.js and Go sample
- Go 1.11.5
- Docker 18.09.1
- Node.js 11.7.0
$ cd docker
$ docker-compose up -d
$ cd front
$ npm insatll
$ npm run build
$ cd api
$ go build
$ ./api
appname: test
port: 80
dblog: false
applog: false
db:
name: test
user: test
password: test
port: 3306
host: 127.0.0.1
twitter:
token: "your app token"
secret: "your app secret"
requesturi: "https://api.twitter.com/oauth/request_token"
authorizationuri: "https://api.twitter.com/oauth/authorize"
tokenrequesturi: "https://api.twitter.com/oauth/access_token"
callbackuri: "http://localhost/twitter/callback"