GithubHelp home page GithubHelp logo

eknowles / 300 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.34 MB

"Communities Made Simple" - A finished side project that runs a multilevel market place using Stripe connect. Patreon but for online gaming communities where members pay subscriptions to contribute to running costs.

Home Page: https://dev.300.team

TypeScript 80.86% CSS 3.08% JavaScript 15.84% HTML 0.18% Shell 0.05%
faunadb nextjs react stripe stripe-connect

300's People

Contributors

eknowles avatar

Stargazers

 avatar

Watchers

 avatar  avatar

300's Issues

connect a community

  1. user sees a list of discord guilds that they are owner of.
  2. user clicks [apply] button.
  3. makes api request from user with guild id.
  • checks get guild api to see if user is owner

backend should create a document on the community_accounts

join a community

as a user I would like to join a community so that I can take part in events as a team

feature: join community

scenario: user is logged in
given user is viewing a community profile they wish to join
when user clicks [become a member]
then page should navigate to /community/[communityId]/join join page

feature: create membership

scenario: user selects subscription
given user is viewing a community join page
when user clicks [follow for free]
then page should navigate to /community/[communityId]/welcome welcome page

implementation details

  • a join page should show the membership options, for this, there will be a single pricing tier of free.
  • membership options should show benefits to the user.
  • small print should let the user knows by accepting membership they accept terms and conditions of the community.
  • welcome page should show a welcome message, and list of next steps (tbc)

view user profile

url should be /profiles/{profileId}

data should be fetched client side

handle authentication failures

when a user clicks [cancel] during the discord oauth flow the application should gracefully handle this exception by redirecting the user to a page describing the failure and how to remediate it.

example callback failure url
http://localhost:3000/api/oauth2/discord/bot/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request

access_denied

setup graphql

vercel has a limit in their free tier for serverless functions.

move as much as possible to the client side and have a single graphql endpoint

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.