Coder Social home page Coder Social logo

revature_foundations_project's Introduction

Revature_Foundations_Project

Table of Contents

  1. Description
  2. Endpoints
  3. Database
  4. Technology Stack

Overview

Description

Ticketing system backend API allows user's to register an account, loggin to an exisiting account, create a new reimbursement ticket. Admins are able to view Pending tickets and Approve or Deny them.

Endpoints

  • /auth/register [POST] route to register a new user
  • /auth/login [POST] route to login a user
  • /auth?username="name" [GET] route to view user and user's ticket information
  • /auth/:username [DELETE] admin route to delete a current user
  • /tickets?status="Pending" [GET] admin route to view all users Pending tickets
  • /tickets/:id [GET] route to view one ticket information
  • /tickets [POST] route to add a new ticket to list
  • /tickets [PUT] admin route to update a tickets status to either Approved or Deined

Database-Model

  • Partition key: employee_id
  • Gobal Secondary Index: username, role
  • Table Schema
  • employee_id (S), name (S), email (S), username (S), password (S), join_date (N), role (S), tickets (L)

Technology-Stack

  • Node
  • Express
  • DyanmoDB
  • Jest
  • Winston

revature_foundations_project's People

Contributors

sagarprasad63574 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.