Giter VIP home page Giter VIP logo

devtoolkit-2-middleware-to-backend's Introduction

DevToolkit-2-Middleware-To-Backend

NUS Professional Certificate for Fullstack Development

Final Assessment.

  1. Build a database for the following CREATE TABLE customer ( email VARCHAR(32) PRIMARY KEY, name VARCHAR(32) NOT NULL pwd VARCHAR(10) ); CREATE TABLE item ( id CHAR(6) PRIMARY KEY CHECK (length(id)=6), name VARCHAR(32) NOT NULL, price NUMERIC CHECK (price>=0)); CREATE TABLE shop_order ( id CHAR(7) PRIMARY KEY, custEmail VARCHAR(32) REFERENCES customer(email), itemID CHAR(6) REFERENCES item(id), quantity INTEGER CHECK (quantity > 0), address VARCHAR(128) NOT NULL, order_date DATE NOT NULL, shipping_date DATE CHECK (shipping_date >= date OR shipping_date IS NULL));
  2. [BACKEND] State any 5 API Specs in a Word Document. [Follow the structure given in the Slides] a. Should demonstrate CRUD operations b. Should exhibit multi-table query or joins
  3. [BACKEND] Implement the API with Express/NodeJS.
  4. [FRONTEND] Develop a login page with local login (userid and passwd in DB) OR using SaaS based authentication providers. [use FrontEgg or auth0]. [For auth0 refer to https://www.youtube.com/watch?v=QQwo4E_B0y8. It is done in BACKEND, so react is not required].
  5. [CONSUMING THE API] On successful login, a. [If SaaS Login] - add the email and name to the customer table if it is not already exists. b. [SasS or Local login] - display all the shop orders of the customer with customer name, item name, item quantity and shipping date. (Note, this query will involve 3 tables).

DISCLAIMER: code is not clean and included all raw files

devtoolkit-2-middleware-to-backend's People

Contributors

jabircode avatar

Watchers

 avatar

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.