Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
/ vue-go-oauth Public archive

Authentication Twitter using vue.js and Go Sample

License

Notifications You must be signed in to change notification settings

skanehira/vue-go-oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-go-oauth

Authentication Twitter using vue.js and Go sample

requirements

  • Go 1.11.5
  • Docker 18.09.1
  • Node.js 11.7.0

DB

$ cd docker
$ docker-compose up -d

Front

$ cd front
$ npm insatll
$ npm run build

API Server

$ cd api
$ go build
$ ./api

config

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"

About

Authentication Twitter using vue.js and Go Sample

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published