NFT Marketplace API microservice for sign up, login and assigning authorization levels for users in the NFT marketplace system using web3 signature.
- Clone the repo.
- Run
yarn install
. - Make requests on port
4000
using Postman, Insomnia or Apollo Server onhttp://localhost:4000
.
- Make requests to https://nft-martketplace-graphql.herokuapp.com/ using Postman, Insomnia or using Apollo sandbox explorer and pasting the deployed url on the sandbox field.
- To test signing up and signing in with a real wallet visit Next NFT Marketplace. It is a WIP for the re-write of my previous Metaverse Marketplace.
- This is a WIP
- Metamask must be installed for sing in to work
- Add new new types, queries or mutations to
schema.graphql
in the respectiveQuery
orMutation
type. - Run
yarn codegen
, it will generate the correct type forQueryResolvers
andMutationResolvers
for theAppContext
. Add the new query/mutation toNftMarketplaceDataSource
class, this will add the correct types tonftMarketplaceAPI
. The application is na fully typed.