Skip to content

Instantly share code, notes, and snippets.


Alexis Duran duranmla

Block or report user

Report or block duranmla

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
duranmla / webpack.config.js
Created Feb 24, 2017
webpack configuration to work with storybook and apollo-client
View webpack.config.js
// load the default config generator.
var genDefaultConfig = require('@kadira/storybook/dist/server/config/defaults/webpack.config.js');
module.exports = function (config, env) {
var conf = genDefaultConfig(config, env);
// add es6 support for node_modules
// config structure is here
conf.module.loaders[0].exclude = /node_modules\/(?!(apollo-client)\/).*/;
duranmla /
Last active May 8, 2018
Gist intended to onboarding new developers for the AHWAA project powered by Discourse



Development Rules


We are going to be using SCSS for the styling conserving a kind of BEM like approach whenever is possible, besides, we will make styles for layouts and components in desktop that will look decent on mobile and on top of that we will declare mobile files to address special styles that will edit the discourse built-in ones.

Development Information

Useful links

Links for getting started with a Discourse project.

duranmla /
Created Aug 6, 2018 — forked from parmentf/
Git Commit message Emoji
duranmla /
Last active Oct 1, 2018
Handle the refresh token process

#27 Handle session refreshing using the provided refresh token


Alexis Duran


  • The token needed to make requests should not be needed to be passed from within async action, API should handle it.
  • If the user has a expired session and it couldn't refresh the application should notify and logout the user from the application.
View orders.js
"id": 371,
"status": "completed",
"subtotal": "480.0",
"fee": "32.735128",
"updated_at": "2018-10-02T08:05:02.520-05:00",
"user": {
"id": 19,
"contact_name": "Javier Aldape",
"contact_email": "",
You can’t perform that action at this time.