GithubHelp home page GithubHelp logo

n0lendly's Introduction

n0lendly

Googleカレンダー予約アプリ(仮)

demo: https://n0lendly.herokuapp.com/


Setup for Mac

環境変数

# http
export PORT=8080

# Google OAuth2
export AUTH_CLIENT_ID=clientid
export AUTH_CLIENT_SECRET=clientsecret
export AUTH_REDIRECT_URI=http://example.com/login/callback

# PostgreSQL
export DB_HOST=127.0.0.1
export DB_PORT=5432
export DB_USER=username
export DB_NAME=dbname
export DB_PASSWORD=dbpassword

PostgreSQL

postgres -D /usr/local/var/postgres 

Go

エントリーポイント

go run main.go

パッケージ管理(glide

$GOPATH/src/n0lendly

に対して

glide update

を行う。

npm

開発時のみ、n0lendly/tsx

npm install

また、npm run buildもしくはnpm run watchでビルドする。

Google OAuth2

GoogleカレンダーのAPIを使う。


Heroku

  • デプロイ
    • go buildpackを利用
  • その他
    • postgresqlを追加してアプリに紐付ける
    • 環境変数を設定(PORTは設定しない)

Docker

docker-compose up

n0lendly's People

Contributors

n0mimono avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.