Skip to content

rpt26-sdc-factory/anthony-titleBanner-service

 
 

Repository files navigation

Anthony TitleBanner Service

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development
  4. CRUD
  5. Screenshot

Usage

Install Dependencies:
- npm install

Start Server:
- npm start

Generate Data:
- npm run csv

Load Data into Postgres:
- log into postgres, from postgres terminal \i seed/schemas/pgSchema.sql

Start UI:
- npm run react-dev

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • etc

Development

Installing Dependencies

From within the root directory:

npm install -g webpack
npm install

CRUD

CRUD APIs - Titles

- Type: POST
- Endpoint: /postTitle
- Expectation: a title and id to be posted to the titlesDB.

- Type: GET
- Endpoint: /getTitle/:title'
- Expectation: a title searched and returned from the titlesDB.

- Type: PUT
- Endpoint: /updateTitle/:title
- Expectation: a title searched and updated from the titlesDB.

- Type: DELETE
- Endpoint: /deleteTitle/:title
- Expectation: a title searched and deleted from the titlesDB.

CRUD APIs - Enrolled Numbers

- Type: POST
- Endpoint: /postEnrolled
- Expectation: an enrolled number and id to be posted to the enrolledDB.

- Type: GET
- Endpoint: /getEnrolled/:enrolled
- Expectation: an enrolled number searched and returned from the enrolledDB.

- Type: PUT
- Endpoint: /updateEnrolled/:enrolled
- Expectation: an enrolled number searched and updated from the enrolledDB.

- Type: DELETE
- Endpoint: /deleteEnrolled/:enrolled
- Expectation: an enrolled number searched and deleted from the enrolledDB.

Screenshot

SDC_shane

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.9%
  • CSS 9.1%
  • Other 1.0%