Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dimasjt/Instaqram

Instagram like, built with Rails 5.1, Webpacker, React, GraphQL, ApolloClient, Redux, ReactRouter, MaterialUI
https://github.com/dimasjt/Instaqram

apollo examples graphql instagram rails reactjs redux wepack

Last synced: about 1 month ago
JSON representation

Instagram like, built with Rails 5.1, Webpacker, React, GraphQL, ApolloClient, Redux, ReactRouter, MaterialUI

Awesome Lists containing this project

README

        

- Ruby version **2.3.3**
- Rails version **5.1.2**
- React version **15.6.1**

## Installation

### Install Dependencies
- `bundle install`
- `yarn install`

### Setup ENV vars
- copy _config/application.yml.example_ to _config/application.yml_ and fill the value

### Database
- `rake db:create`
- `rake db:migrate`

## Run Application

### Development
- `rails s`
- `./bin/webpack-dev-server --hot`
- open in browser `localhost:3000`

### Production
- `rake assets:precompile RAILS_ENV=production` will automatically run yarn and webpack compile
- `rails s -e production`
- open in browser `localhost:3000`