0% found this document useful (0 votes)
10 views7 pages

Submission Task 4

The document outlines tasks for developing the backend of a grocery web application. It involves designing a database schema to efficiently store and retrieve data, setting up a local MongoDB server, creating Mongoose schemas, and developing APIs. APIs need to define routes, add authentication middleware, include controllers to handle requests and responses, and securely manage environment variables. The goals are to understand NoSQL database modeling, query MongoDB, get familiar with server-side authentication, and facilitate communication between the grocery app and other applications through secure and optimized APIs.

Uploaded by

Karthick Kavi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views7 pages

Submission Task 4

The document outlines tasks for developing the backend of a grocery web application. It involves designing a database schema to efficiently store and retrieve data, setting up a local MongoDB server, creating Mongoose schemas, and developing APIs. APIs need to define routes, add authentication middleware, include controllers to handle requests and responses, and securely manage environment variables. The goals are to understand NoSQL database modeling, query MongoDB, get familiar with server-side authentication, and facilitate communication between the grocery app and other applications through secure and optimized APIs.

Uploaded by

Karthick Kavi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

“Your Project Name”

Task - 4
Your Project Name
▪ Your Project Introduction

LMS Username Name Batch

2113a53204 Shree aravindh S S 2

2113a53207 Tharun D 2

2113a53211 Abineshwaran A 2

2113a53210 Abdulazees M 2

2113a53238 Karthick A 2
Task 4 :: Backend (Module 4)
Do database modelling and create models
▪ Design schema for all the data to be stored
▪ Start mongodb local server and point the backend to the server
▪ Create mongoose schema at the backend
▪ Run test queries to set up the database

Create Various APIs to ensure data flow within the website


▪ Define all the routes for the backend
▪ Add authentication middleware
▪ Add controllers for all the paths to handle api request
▪ Create Environment variables for all authentication keys
▪ Note: Always handle all possible cases with the request

Evaluation Metric:
100% Completion of the above tasks

Learning outcome
▪ Understanding Nosql databases modeling
▪ Querying and filtering mongodb
▪ Understanding various req methods
▪ Getting familiar with cookies
▪ Server side authentication
Step-Wise Description
1.Define the database schema.

2.Design the API endpoints.

3.Implement the APIs.

4.Secure the APIs.

5.Monitor and optimize the APIs.

Summary of your task


Database modelling defines the structure and relationships of a database for efficient
data storage and retrieval. Creating secure APIs facilitates communication between the
grocery web app and other applications. Monitoring and optimizing the APIs are
necessary for smooth functioning and scalability. Overall, effective database modelling
and API creation are crucial for a successful grocery web app.
Assessment Parameter
Design Schema for data to be Point all routes with a appropriate
stored controllers to control request and response

Add authentication middleware to


Set mongodb server on localhost
Check-List all protected routes

Add dummy data with schema Filter and santize all the
in mongodb server incoming data in http requests

Run some test queries to test Set up secure environment


the server variables for secret keys
Submission Github

https://github.com/Karthick489/
Group_A53_8

You might also like