User Stories:
- As a user, I want to see all Conversation Messages in descending order by date.
- As a user, I want to see the type of the Conversation Message for each record. "SMS" or "Phone Call."
- 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
0.0.1
- https://communications-api.onrender.com/
- Deployed to free plan at https://render.com/, which is why the first cold-boot start-up is slow
- 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.
- git clone https://github.com/shahmirn/communications-api
- cd communications-api
- npm install
- npm run dev
- Go to http://localhost:4000/
- Add unit tests
- Add query param validation