8000 GitHub - taga3s/pecopeco: Enhancing the quality of engineers' food life in Japan
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.
/ pecopeco Public archive

Enhancing the quality of engineers' food life in Japan

Notifications You must be signed in to change notification settings

taga3s/pecopeco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this app

エンジニアとして活動している人たちが、何かご飯を食べたいと思った時に、ブラウザを開かずともすぐさま飲食店を検索できるCLIアプリです。現在、以下のような機能があります。

  • 飲食店検索機能
  • 飲食店 LINE 通知機能
  • 飲食店シェア掲示板機能

Docs

Tech Stacks

Language

Frameworks

DB

  • MySQL

API

  • REST API

External APIs

  1. ホットペッパー API は、多くの飲食店情報を提供する。
  2. LINE Notify API を利用することで、ユーザーがトークンを発行し、任意のグループ等と連携を行うことで、LINE に通知することができる。

Dev Environment

System Structure

Usage

  • run app
$ pecopeco run
  • configure LINE_NOTIFY_API_TOKEN
$ pecopeco config --token <LINE_NOTIFY_API_TOKEN>
  • configure Username
$ pecopeco config --username <Username>

Setup

共通

  1. /cli/serviceにある.env.exampleをそれぞれコピーして、.envとして配置します。
cp .env.example .env
  1. cli, api, db のコンテナを全て起動します。
make run

cli, api コンテナに接続し、Go を実行する

  1. コンテナに接続します。
make it-cli

or

make it-api
  1. main.go を実行します。
go run main.go

db コンテナに接続し、mysql に root ユーザとしてログインする

  1. コンテナに接続します。
make it-db
  1. mysql に root ユーザとしてログインします。
mysql -uroot -ppeco_password

About

Enhancing the quality of engineers' food life in Japan

Topics

Resources

Stars

Watchers

Forks

0