تفاصيل العمل

Project Summary

Imagine that you are a web developer at a small company. The company stakeholders have decided they want to set up an online store to make their great product ideas available for purchase -- and they want you and your co-worker to build it.

The stakeholders have put together a list of requirements for this online store. Your co-worker will be building the front and you will be supplying the JavaScript API.

Your job is to architect the database, its tables, and columns to fulfill the data requirements and craft a RESTful API that exposes that information to the frontend developer.

Your application needs to be ready for beta tests, so it needs to have tests, keep user information secure, and provide user authentication tokens that are ready to integrate with the frontend.

Requirements

Your task is to build an API for a shopping application.

Draft a database schema that covers all the data requirements.

Draft a map of endpoints to expose for the front.

Database Setup

Create a connection to a Postgres database from the provided Node application.

Add tables and columns according to the database schema doc from step 1.

Create Models

Create models that facilitate CRUD operations on the database tables.

Create a test suite for each model in Jasmine.

Create API Endpoints

Create handler files for each model.

In each handler file, create RESTful endpoints for each model method.

Create a test suite that covers each endpoint with Jasmine.

بطاقة العمل

اسم المستقل محمد ح.
عدد الإعجابات 0
عدد المشاهدات 57
تاريخ الإضافة
تاريخ الإنجاز