sammybigbux / deckhub

1 stars 0 forks source link

Requirements doc for backend #59

Closed sammybigbux closed 1 month ago

sammybigbux commented 3 months ago

Backend Requirements Document

Overview

This document outlines the requirements for the backend development of a website that includes user authentication and hosting of static and dynamic content. The goal is to create a scalable, cost-effective solution in GCP that supports user-specific content and general content accessible to all users.

Requirements

1. User Authentication

2. Data Hosting and Manipulation

3. Hosting Non-changeable Files

4. User-Specific Files

5. Existing Backend for modules

5. Data requirements per page breakdown

Implementation Details

Authentication

Scalability and Cost

Summary

This backend system will support user authentication, data manipulation, and the hosting of both static and dynamic content. The solution will be scalable, cost-effective, and ensure that user-specific content is correctly managed and accessible. The system will cater to various pages, ensuring that data requirements are met per the outlined specifications. Documentation on how to access the backend using the most basic possible js code is greatly appreciated. For example, to add a user suppose we need a json and a GCP function. In that case the example code in the documentation could be as simple as:

<button onclick="addUser({name: 'John Doe', email: 'john.doe@example.com'})">Add User</button>

Miscellaneous

Testing

Once this requirements doc is agreed upon @sammybigbux will begin writing a test suite immediately to verify the efficacy of the backend.

Wireframe

Link to wireframe