Giter VIP home page Giter VIP logo

wsu_cpts_422_bats's Introduction

CptS 422: Software Engineering Principles II

Team Name

BATS: Business Analytics Tagging Service

Project Description

An api that lets businesses track analytics for their websites via logging tags within our database and then being able to simply query back to get information on total usage for different tags.

See Deliverable 1 for our Deliverable 1 document.

Testing the api

PREREQ:

-NodeJS (Recent version) -Postman (Suggested/Optional) Clone the current master branch Run "npm install" to download all necessary dependencies within the package.json Next, run "node app.js" to start up server

Create a token

POST 0.0.0.0:3000/api/tokens/ body: { "organization": "company name" }

Delete a token (and related tags and interactions)

DELETE 0.0.0.0:3000/api/tokens/ headers: { 'Authorization': Bearer 056f9979-b5bb-4741-898f-80b432461e21, }

Create/Update tag/interaction

POST 0.0.0.0:3000/api/tags/(name) body: { "value": "metadata", "interaction": "interaction type" } headers: { 'Authorization': Bearer 056f9979-b5bb-4741-898f-80b432461e21, }

View all interactions by name

GET 0.0.0.0:3000/api/tags/(name) headers: { 'Authorization': Bearer 056f9979-b5bb-4741-898f-80b432461e21, }

View all interactions

GET 0.0.0.0:3000/api/tags headers: { 'Authorization': Bearer 056f9979-b5bb-4741-898f-80b432461e21, }

Testing with website

Open frontend/index.html and go ahead and click the sample buttons to check the database use View All Interactions route with the following header: headers: { 'Authorization': Bearer 056f9979-b5bb-4741-898f-80b432461e21, }

Team Members

  • Austin Marino
  • Cole Bennett
  • Joseph Cunningham
  • Niko Kent

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.