Giter Club home page Giter Club logo

flowbeats-x-defi's Introduction

FLOW BEATS

Are you tired of playing games that don't pay off? Well, with Flow Beats, you can finally put the "play" in "pay-to-play"!

So, get ready to dive into Flow Beats, the ultimate multi-gaming platform built on Flow! Our P2E (Play-to-Earn) model and in-game rewards system is designed to help you earn valuable rewards while playing your favourite games.

By using Flow Beats, you can enjoy a wide variety of games all in one place. Whether you're into indie games, or casual puzzle games, we've got something for everyone. And with our in-game rewards system, you'll be able to earn valuable rewards that can be redeemed for real-world value.

But what really sets us apart is our easy onboarding process. Flow Beats leveraged the Niftory's wallet and NFT API, which includes Niftory's social login and add or switch wallet feature. This means you can easily create and manage digital assets directly within the game interface, without the need for a separate wallet. We've eliminated the complexity and friction associated with blockchain transactions, making it easier for you to engage with our games and earn valuable rewards. You can also buy and sell your digital assets directly from the platform.

Flow Beats makes it easy for you to find the games you love and earn rewards while doing it. It's literary just

Wake Up 2. Play 3. Eat 4. Sleep 5. Repeat. So whether you're a hardcore gamer or just looking for a casual gaming experience, Flow Beats has something for everyone.

Usage

Configuration

This app uses dotenv for configuration, so you can set your app's environment variables by creating a .env file in this directory.

See .env.example for an example of how to configure these environment variables.

Installing Dependencies

To install the dependencies of this app.

yarn install

Running the app

Once your .env file is set up, you can run the app locally with:

yarn dev

Overview

Stack:

Authentication

This app demonstrates three forms of authentication in the Niftory API.

User authentication

We use NextAuth to manage user sessions in this app.

Our configuration uses Niftory as the only OAuth provider and saves the user's Niftory token in the session.

The browser's GraphQL client then includes that token in every request to the Niftory API as a bearer token in the Authorization header

App Credentials authentication using NextJS API routes or in your backend.

If you want to make requests using the app's credentials instead of the User's credentials for performing admin only tasks then that can be done using the Serverside GraphQL Client.

Note - This client should not be used in the frontend, it should either be used in the backend of your app or in the NextJS API Routes.

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.