petitviolet / acoder

code snippet sharing built with Rails & React.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Anomymous CODE Review

https://acoder-front.herokuapp.com/

How to run

See Makefile

Structure

  • ./api: API server
    • Ruby, Ruby on Rails
  • ./frontend: Frontend SPA
    • TypeScript, React.js, Webpack

Getting Started

API

$ cd api
$ docker-compose up -d
$ bundle
$ bundle exec rails s

Frontend

$ cd frontend
$ yarn
$ yarn start

How to deploy

# check heroku-(api|front) are available
$ git remote 
heroku-api
heroku-front
origin

# check git url
$ heroku apps --json | jq -S '.[] | select(.name | startswith("acoder-")) | [.name, .git_url]'

# deploy to heroku
$ make deploy/api
$ make deploy/front

License

MIT License

About

code snippet sharing built with Rails & React.js


Languages

Language:Ruby 54.9%Language:TypeScript 33.3%Language:HTML 7.6%Language:JavaScript 3.5%Language:Makefile 0.7%