Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Alexis Duran duranmla

🎯
Focusing
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
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": "javieraldape@outlook.com",
@duranmla
duranmla / auth_refresh.md
Last active Oct 1, 2018
Handle the refresh token process
View auth_refresh.md

#27 Handle session refreshing using the provided refresh token

Author

Alexis Duran

Constrains

  • 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.
@duranmla
duranmla / GitCommitEmoji.md
Created Aug 6, 2018 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
View GitCommitEmoji.md
@duranmla
duranmla / discourse_intro.md
Last active May 8, 2018
Gist intended to onboarding new developers for the AHWAA project powered by Discourse
View discourse_intro.md

Discourse

#ahwaa/intro

Development Rules

Styling

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
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
// https://github.com/storybooks/react-storybook/blob/d0fd01054f02e79518d36a6fbb238c24577fef83/dist/server/config/webpack.config.js
conf.module.loaders[0].exclude = /node_modules\/(?!(apollo-client)\/).*/;
You can’t perform that action at this time.