• This repository has been archived on 22/Oct/2019
  • Stars
    star
    12
  • Rank 1,597,372 (Top 32 %)
  • Language
    CSS
  • License
    MIT License
  • Created about 6 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ˜ธ A my portfolio site that fetch data and display from various services such as GitHub, Qiita, SpeakerDeck.

๐Ÿ˜ธ Portfolio

A my portfolio site that fetch data and display from various services such as GitHub, Qiita, SpeakerDeck.

๐Ÿ’ป Technology Stacks

  • Next.js
  • Firebase Hosting
  • Cloud Functions for Firebase

โš ๏ธ Requirement

  • Node.js v8

๐Ÿ’พ Installation

Fork and Clone

$ git clone https://github.com/kentaro-m/portfolio
$ cd portfolio

Install dependencies

$ yarn install

Update .env.example file and config.js file

Rename .env.example to .env. Get the token from each service and input.

# Scope: public_repo
GITHUB_API_TOKEN=<Your GitHub Token>
# Scope: read_qiita
QIITA_API_TOKEN=<Your Qiita Token>
# RSS to JSON Convert Tool 
RSS2JSON_API_TOKEN=<Your rss2json token>
# Error Tracking Tool
SENTRY_PUBLIC_DSN=<Your Sentry Public DSN> 

Input user info on src/app/lib/config.js.

const prod = process.env.NODE_ENV === 'production'

module.exports = {
  // Input site description to display meta tags
  site: {
    url: prod ? 'https://kentarom.com' : 'http://localhost:3000',
    title: 'Kentaro Matsushita - @kentaro-m',
    description: '',
    image: 'og_image.png'
  },
  // Input user info to display social account links
  user: {
    name: 'Kentaro Matsushita',
    github: 'kentaro-m',
    qiita: 'kentaro-m',
    speaker_deck: 'kentarom',
    twitter: '_kentaro_m',
    facebook: 'kentaro.m9',
    linkedin: 'kentarom'
  },
  // Input your skills
  skills: [
    {type: "JavaScript (ES2015)", level: 80},
    {type: "Node.js", level: 70},
    {type: "AWS", level: 70},
    {type: "React.js", level: 60},
    {type: "HTML", level: 60},
    {type: "CSS", level: 60},
    {type: "Java", level: 50},
    {type: "Go", level: 40},
    {type: "TypeScript", level: 40}
  ],
  // Search your repository with username and topic name
  github: {
    topic: 'my-portfolio'
  },
  // Input the number of items to display
  qiita: {
    item_count: '5'
  },
  // Input blog url and the number of items to display
  blog: {
    url: 'https://kentarom.hatenablog.com/',
    feed_url: 'https://kentarom.hatenablog.com/feed',
    article_count: '5'
  },
  // Input the number of items to display
  speaker_deck: {
    slides_count: '6'
  }
}

Update site_description.md

Input your profile on src/app/content/site_description.md.

### Kentaro Matsushita
I'm working as a software engineer in Kanazawa, Japan.

Next.js Development

$ yarn run dev

๐Ÿš€ Deploy to Firebase

Create a new project

Create a new project on the Firebase web console and note the project id (https://console.firebase.google.com/project/<projectId>).

Please change firebase pricing plan to Blaze from Spark. Spark plan is external network is not accessible and can not call the services api.

Update .firebaserc file

Input your project id.

{
  "projects": {
    "default": "<Your Project ID>"
  }
}

Deploy from local development

Login to Firebase CLI

$ yarn run firebase-login

Deploy Hosting resources and Cloud Functions

$ yarn run deploy

Deploy from CircleCI

Set up a project on CircleCI

Set up a project by referring to the following pages.

Getting Started Introduction - CircleCI

Generate an access token for using the Firebase

$ ./node_modules/.bin/firebase login:ci

Set the environment variables to CircleCI

Set the environment variables by referring to the following pages.

Using Environment Variables - CircleCI

  • FIREBASE_TOKEN
  • GITHUB_API_TOKEN
  • QIITA_API_TOKEN
  • RSS2JSON_API_TOKEN
  • SENTRY_PUBLIC_DSN

Deploy Hosting resources and Cloud Functions

Run build and deploy for every commit for master branch.

๐Ÿšฟ Clean dist folder

$ yarn run clean

๐Ÿ“ License

MIT

More Repositories

1

auto-assign-action

An action which adds reviewers to the pull request when the pull request is opened.
TypeScript
245
star
2

auto-assign

๐Ÿค– A Probot app that adds reviewers to pull requests when pull requests are opened.
TypeScript
234
star
3

md2confl

๐Ÿ›  md2confl is a CLI tool to convert the markdown text to confluence wiki format.
Go
77
star
4

task-completed-checker-action

โ˜‘๏ธ A GitHub action that checks if all tasks are completed in the pull requests.
TypeScript
59
star
5

catchy-image

๐ŸŽจ A Node.js module for dynamically generating social cards (open graph images).
JavaScript
46
star
6

blackfriday-confluence

๐Ÿ›  Blackfriday-Confluence is confluence wiki renderer for the Blackfriday v2 markdown processor.
Go
21
star
7

lambda-pr-notify-bot

๐Ÿค– A bot that improve pull request workflow on GitHub.
JavaScript
19
star
8

add-an-issue-reference-action

:octocat: A GitHub Action for adding a related issue reference to a pull request.
TypeScript
18
star
9

gh-lspr

gh-lspr is GitHub CLI extension to help you to check pull requests to which you need to respond.
Shell
18
star
10

portfolio-gatsby

๐Ÿ˜Ž kentarom's portfolio site
SCSS
9
star
11

coverage-markers

๐Ÿ“ฆ Atom package to display JavaScript test coverage on gutter of editor.
JavaScript
6
star
12

issue-creator

๐Ÿš„ A Slack slash command for creating quickly a new issue on GitHub.
JavaScript
6
star
13

task-complete-checker

โœ… A Probot app that checks if all tasks are completed in the pull requests.
JavaScript
5
star
14

honyaku-flag

๐Ÿšฉ A Slack app that translates a message when an emoji reaction added to the message.
TypeScript
5
star
15

mkissue

๐ŸŽซ Create GitHub issues from importing CSV file.
TypeScript
4
star
16

qr-code-commenter-action

๐Ÿ“ท A GitHub Action that posts a QR code to a pull request comment.
TypeScript
4
star
17

japanese-tech-company-blog-updates

๐Ÿ“บ Deliver the latest tech news on Japanese technology companies.
Vue
4
star
18

pr-notify-bot

๐Ÿค– A slackbot that reminds reviewers to review their pull requests.
JavaScript
3
star
19

zenhub-time-tracker

โŒš Keep track of time to move an issue between pipelines and notify the time into Slack.
JavaScript
3
star
20

renovate-config

A config preset for Renovate used by @kentaro-m
3
star
21

waiting-for-review-labeler

โฐ An action for adding label to a pull request after it being opened or ready for review for more than certain hours.
TypeScript
2
star
22

resume

๐Ÿ’ป My resume
2
star
23

spider

๐Ÿ‘ท WIP A crawler for collecting tech news
Go
2
star
24

react-login-form-sample

๐Ÿ”’ โš›๏ธ A login form example with React Hooks
TypeScript
2
star
25

learn-something-new

๐Ÿ’ช Knowledge is power.
TypeScript
2
star
26

homebrew-md2confl

Ruby
1
star
27

rust-learning

Rust
1
star
28

lighthouse-keeper

TypeScript
1
star
29

book-box

๐Ÿ“šUpdate a pinned gist to contain the status of reading books from Google Books.
TypeScript
1
star
30

dotfiles

Vim Script
1
star
31

kentaro-m

1
star
32

blog

TypeScript
1
star
33

b64

๐Ÿ› Base64 Encode/Decode Tool
JavaScript
1
star
34

shuf

๐ŸŽฒ Write a random permutation of the input lines to standard output.
TypeScript
1
star
35

tic-tac-toe

JavaScript
1
star
36

tic-tac-toe-with-typescript

Tic Tac Toe with TypeScript
TypeScript
1
star
37

waiting-for-review-labeler-demo

๐ŸŽก A sandbox to run the waiting-for-review-labeler
1
star
38

clean-architecture-todo-example

๐Ÿšง An implementation example of the Todo app using Clean Architecture.
TypeScript
1
star