Skip to content

Backend Overview

JackMZ edited this page Mar 20, 2022 · 1 revision

We have chosen Express as the framework to create our API endpoints.

For database queries, we have used Sequelize, a promise-based ORM that has common functionality for multiple SQL databases. (Check the backend readme for specific instructions for database setup)

For this application, the two main models are users and posts. All the backend queries involve either of these models in some way. To compensate for this, additional tables - followers, likedposts, sharedposts, attachments - were used to store supplementary information.

Detailed documentation about our endpoints, including responses and status codes, can be found here.

Clone this wiki locally