Git Product home page Git Product logo

librarysystem-backend's Introduction

Hi there ๐Ÿ‘‹

librarysystem-backend's People

Contributors

larongbingo avatar

Stargazers

 avatar

Watchers

 avatar

librarysystem-backend's Issues

Separate transpiling of ~/lib files

Since webpack compiles all of the code into a single file, we need to run webpack again to compile the files at /lib to preserve the dbSync and dbRand scripts

Cannot read property 'userId' of undefined" at BorrowBook API

Response/Message:

{
  "errors": [
    {
      "message": "Cannot read property 'userId' of undefined",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "borrowBook"
      ]
    }
  ],
  "data": {
    "borrowBook": null
  }
}

Input/Request:

mutation{
  borrowBook(userId:1,bookId:2, transactionRemark:"asd",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwidXNlcklkIjoyLCJwb3NpdGlvbiI6IkFETUlOSVNUUkFUT1IiLCJpYXQiOjE1MjIyMjk4MzR9.IcMuLSEBLWV8RA8A_UA-MAdHcHGG0xYjM0VAduF7sEI")
}

Generate new HTTPS Certs at Build Stage

Since we are planning to add HTTPS (including the certs and everything), we will not be able to make the repo public since the IBM Cloud requires all of the files to put in the repo itself.

We need to search a script to add SSL Certs.

Add account and book CRUD Operations

Currently we can only Create Books and Users, and Users the only having Update. We need to also make the other DB Operations to other Tables at the DB.

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.