Git Product home page Git Product logo

badi-server's Introduction

Badi Server

Primary tech stack:

Third-party services

  • TBD (#1)

Documentation

  • For initial setup & cloning the repository, read SETUP.md.
  • For the contribution workflow & dealing with git branches, read CONTRIBUTING.md.

Team

badi-server's People

Contributors

dotnize avatar carefreebee avatar harenzp avatar smolduck02 avatar lninyow avatar

Stargazers

 avatar  avatar

Watchers

 avatar

badi-server's Issues

REST API implementation

TODO:

  • Contract - pwede rani uwahi since wala sa business rules

HTTP endpoints:

Auth

  • GET /auth
  • POST /auth/login
  • POST /auth/register
  • POST /auth/logout

ChatMessage

  • GET /chatmessage/room/:id - returns an array of chatmessages in that room id
  • GET /chatmessage/:id

ChatRoom

  • GET /chatroom/user/:id - returns an array of all chatrooms where the userid is a member
  • GET /chatroom/:id
  • POST /chatroom

Contract

  • GET /contract/:id
  • GET /contract/tradegroup/:id
  • POST /contract
  • PUT /contract/:id
  • DELETE /contract/:id

Inventory

  • GET /inventory - returns an array of all inventories (for home/browse page)
  • GET /inventory/user/:id - returns an array of all inventories owned by that user id
  • GET /inventory/:id
  • POST /inventory
  • PUT /inventory/:id
  • DELETE /inventory/:id

Notification

  • GET /notification/user/:id - returns an array of all notifications for that user id
  • GET /notification/:id
  • PUT /notification/:id
  • DELETE /notification/:id

Rating

  • GET /rating/user/:id - returns an array of all ratings for that user id
  • GET /rating/:id
  • POST /rating
  • PUT /rating/:id
  • DELETE /rating/:id

TradeGroup

  • GET /tradegroup/:id
  • GET /tradegroup/user/:id - returns an array of all tradegroups that user id is part of
  • POST /tradegroup
  • PUT /tradegroup/:id
  • DELETE /tradegroup/:id

TradeInventory

  • GET /tradeinventory/:id
  • GET /tradeinventory/group/:id - returns an array of all tradeinventories that are part of that tradegroup id
  • POST /tradeinventory
  • PUT /tradeinventory/:id
  • DELETE /tradeinventory/:id

TradeTransaction

  • GET /tradetransaction/group/:id - returns an array of all transactions that are part of that tradegroup id
  • GET /tradetransaction/inventory/:id - returns an array of all transactions that are part of that TradeInventory id (not Inventory)
  • GET /tradetransaction/:id
  • POST /tradetransaction
  • PUT /tradetransaction/:id
  • DELETE /tradetransaction/:id

User

  • GET /user/:id
  • PUT /user/:id
  • DELETE /user/:id

Wish

  • GET /wish - returns an array of all wishes (for home/browse page)
  • GET /wish/user/:id - returns an array of all wishes owned by that user id
  • GET /wish/:id
  • POST /wish
  • PUT /wish/:id
  • DELETE /wish/:id

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.