Skip to content

shahmirn/communications-api

Repository files navigation

Communications API - Express API - Showcase Project

User Stories:

  1. As a user, I want to see all Conversation Messages in descending order by date.
  2. As a user, I want to see the type of the Conversation Message for each record. "SMS" or "Phone Call."
  3. As a user, I want to see only the Conversation Messages from a specific phone number

Derived Requirements:

  • Create an API that returns both sms and voice_calls sorted by datetime in descending order.
    • Support returning the type of conversation
    • Support searching for conversations from a specific phone nubmer

Version

0.0.1

Working Demo

Tech

  • Express - Fast, unopinionated, minimalist web framework for Node.js
  • Sequelize - A modern TypeScript and Node.js ORM for Oracle, Postgres, MySQL, MariaDB, SQLite and SQL Server, and more
  • tsx - TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
  • Typescript - An open-source language which builds on JavaScript.

Running locally

Todo's

  • Add unit tests
  • Add query param validation

References:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published