AI Content Chat (Beta) logo

2022 Product Sampling Digitization 3. Backend Serve- side implementation, also known as the back end of the website. The back end has the server itself which listens for incoming request and information over the internet and sends back responses. The server or back end is largely responsible for storing, accessing, and manipulating data. The data can be fetched and shown to the front- end using queries and stored in databases. The backend also handles important tasks such as authentication and authorization. Validation is also a large part, as all data needs to be validated before being stored in a database, with increasing cyber- attacks, having a well- organized database is a must. Goal : Create APIs (Backend) and connect data. The Backend of our web application is implemented using Express.JS (Node.js Framework to run APIs). Backend helps to connect data to applications. It helps to have an intermediate connection between user and data (Database). The Database is running on MongoDB Atlas (NoSQL Database). Our Database consists of 6 Types of Data: Collections of Data: 1. Products (All Products which will be visible to users) 2. Stores (Wherever QRCode is available) 3. Users (Who use our website for collecting free samples) 4. Cohorts (Categories that store collection of products for a particular store) 5. Activities (To keep track of which user collecting which data) 6. Brands (Brands who try to share their free samples) Requirements (Technology Stack): 1. NodeJS 2. ExpressJS 3. MongoDB Atlas 8

TIP Report - Page 16 TIP Report Page 15 Page 17