profile
viewpoint
Ben Awad benawad Austin, TX https://www.youtube.com/benawad97 Software Consultant | YouTuber | React.js and GraphQL Enthusiast

benawad/codeponder 215

Marketplace for Code Reviews

benawad/create-graphql-api 194

Set up a Typescript GraphQL API by running one command.

benawad/basic-react-form 62

Basic form in React

benawad/cra-redux-saga 62

A simple example that uses Redux Saga and Create React App

benawad/apollo-mocked-provider 61

Automatically mock GraphQL data with a mocked ApolloProvider

benawad/benawad.com 59

My website

benawad/apollo-cache-update 19

How to Update the Apollo Cache After a Mutation

startedbenawad/lireddit

started time in 2 hours

startedbenawad/lireddit

started time in 2 hours

fork webdevhax/practical-react

A practical introduction to React.js

fork in 2 hours

startedbenawad/lireddit

started time in 5 hours

fork jrobic/node-graphql-benchmarks

Benchmarks for different Node.js GraphQL Servers

fork in 9 hours

startedbenawad/fullstack-graphql-airbnb-clone

started time in 10 hours

startedbenawad/graphql-express-template

started time in 11 hours

startedbenawad/graphql-ts-server-boilerplate

started time in 11 hours

fork CodingReact/practical-react

A practical introduction to React.js

fork in 20 hours

startedbenawad/type-graphql-series

started time in 20 hours

startedbenawad/destiny

started time in a day

startedbenawad/codeponder

started time in a day

fork Saikilito/graphql-ts-server-boilerplate

A GraphQL server boilerplate made with Typescript, PostgreSQL, and Redis

fork in a day

startedbenawad/destiny

started time in a day

startedbenawad/apollo-server-react-file-upload

started time in a day

startedbenawad/lireddit

started time in a day

issue commentbenawad/lireddit

Express.Session isn't obvious

@dzirg44 This should work.

import { Request, Response } from 'express';
import { Session, SessionData } from 'express-session';

export type MyContext = {
  req: Request & {
    session: Session & Partial<SessionData> & { userId?: number };
  };
  res: Response;
};

This worked fine. Thanks @dzirg44

dzirg44

comment created time in a day

startedbenawad/destiny

started time in a day

startedbenawad/typescript-nextjs-graphql-series

started time in a day

fork ChilliCream/node-graphql-benchmarks

Benchmarks for different Node.js GraphQL Servers

fork in a day

startedbenawad/postgres-mongo-graphql-example

started time in a day

startedbenawad/destiny

started time in 2 days

more