Skip to content

Instantly share code, notes, and snippets.


Muhammad Taqi Abdul Aziz taqiabdulaziz

Block or report user

Report or block taqiabdulaziz

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
taqiabdulaziz / express-wrapper.js
Created Jul 3, 2019
Bring your error to client
View express-wrapper.js
const logger = require('./logger');
const { httpStatus } = require('../configs/codes');
const { errorResponse } = require('./response');
const wrap = fn => (req, res) => {
const idRequest = req.request_id;
const {
taqiabdulaziz / react.js
Last active Jul 3, 2019
View react.js
import React, { Component } from 'react';
import logo from './logo.svg';
import { EditorState } from 'draft-js';
import { Editor } from 'react-draft-wysiwyg';
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
import { stateToHTML } from 'draft-js-export-html';
import axios from 'axios'
You can’t perform that action at this time.