Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ritchie-gr8/fantasy-shop-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ritchie-gr8/fantasy-shop-api

  • v0.0.0-20240514124933-a04fee1e3592
  • Source
  • Go
  • Socket score

Version published
Created
Source

fantasy-shop-api

This project was built to practice constructing CRUD API endpoints using the clean architecture style. Additionally, it incorporates Google OAuth2 for user authentication and includes some unit testing.

About this project

The Fantasy Shop API is a RESTful API that enables users to perform CRUD (Create, Read, Update, Delete) operations, with certain routes protected by OAuth2 that only allow admins or authorized users access.

Overview

  • GET
    • /v1/health (check endpoint health)
    • /v1/item-shop (get all items in shop)
    • /v1/inventory (get all items in player's inventory)
  • POST
    • /v1/item-shop/buy (buy item only players are allowed)
    • /v1/item-shop/sell (sell item only players are allowed)
    • /v1/item-managing (create item only admins are allowed)
  • and much more..

FAQs

Package last updated on 14 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc