This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div :class="['mx-5', 'my-5']"> | |
| <v-row justify="center"> | |
| <div | |
| :class="[`text-h1`, 'text-center']" | |
| v-text="'Open Source Private Marketplace'" | |
| ></div> | |
| </v-row> | |
| <v-row justify="center"> | |
| <div |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div> | |
| <v-row class="mb-2" v-if="refreshRepo"><v-btn @click="refreshRepo">Refresh Repo List</v-btn></v-row> | |
| <v-row> | |
| <v-card width="400" class="mx-2 my-2" :key=index v-for="(item,index) in listRepo"> | |
| <v-card-title> | |
| <v-list-item class="grow"> | |
| <v-list-item-content> | |
| <v-list-item-title>{{item.name}}</v-list-item-title> | |
| </v-list-item-content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <v-container> | |
| <v-row justify="space-between"> | |
| <v-col cols="4" class="text-h4 font-weight-bold">Dashboard</v-col> | |
| <v-col cols="4" class="d-flex justify-end" | |
| ><v-btn @click="logout">LOGOUT</v-btn></v-col | |
| > | |
| </v-row> | |
| <DashboardInfo :username="username" :profilePhoto="profilePhoto" /> | |
| <v-row justify="space-between"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require("axios"); | |
| const jwt = require("jsonwebtoken"); | |
| const sell_repo = async function (params) { | |
| const cloudant = require("@cloudant/cloudant")({ | |
| url: params.__bx_creds.cloudantnosqldb.url, | |
| plugins: [ | |
| { iamauth: { iamApiKey: params.__bx_creds.cloudantnosqldb.apikey } }, | |
| ], | |
| }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <v-row> | |
| <v-card max-width="344" outlined> | |
| <v-list-item three-line> | |
| <v-list-item-content> | |
| <v-list-item-title class="headline mb-1"> | |
| Github Username | |
| </v-list-item-title> | |
| <v-list-item-title class="text-h5">{{username}}</v-list-item-title> | |
| </v-list-item-content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div> | |
| <v-row class="mb-2" v-if="refreshRepo"><v-btn @click="refreshRepo">Refresh Repo List</v-btn></v-row> | |
| <v-row> | |
| <v-card max-width="400" class="mx-2 my-2" :key=index v-for="(item,index) in listRepo"> | |
| <v-card-title> | |
| <v-list-item class="grow"> | |
| <v-list-item-content> | |
| <v-list-item-title>{{item.name}}</v-list-item-title> | |
| </v-list-item-content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| service: authorize | |
| useDotenv: true | |
| provider: | |
| name: openwhisk | |
| ignore_certs: true | |
| functions: | |
| authorize-github: | |
| handler: authorize.github | |
| annotations: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <v-container> | |
| <v-row justify="space-between"> | |
| <v-col cols="4" class="text-h4 font-weight-bold">Dashboard</v-col> | |
| <v-col cols="4" class="d-flex justify-end" | |
| ><v-btn @click="logout">LOGOUT</v-btn></v-col | |
| > | |
| </v-row> | |
| <DashboardInfo :username="username" :profilePhoto="profilePhoto" /> | |
| <v-row justify="space-between"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| github_client_id=<your github client id> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildModules: [ | |
| ... | |
| '@nuxtjs/dotenv' | |
| ], |