uprm-inso4101-2024-2025-s1 / semester-project-mercado-colegial-online

semester-project-mercado-colegial-online created by GitHub Classroom
8 stars 2 forks source link

Connect Database to Backend #108

Closed franRov closed 2 hours ago

franRov commented 2 weeks ago

Objective

• Connect MongoDB Atlas database to the backend of our project, ensuring data flow between the frontend and database.

Requirements

• Establish a secure connection between the backend and MongoDB Atlas • Test data flow between frontend and backend to ensure seamless communication. • Create necessary API routes (e.g., /signup, /login) for user authentication and data storage. • Use environment variables to store sensitive credentials (e.g., connection URI, database credentials).

Completion Criteria

• MongoDB Atlas connected to the backend. • Frontend can interact with the backend to store and retrieve data. • Secure handling of database credentials using .env file.

Time Constraint:

• Monday, October 21

Scoring:

• Urgency: 5 • Difficulty: 8

franRov commented 4 hours ago
Screenshot 2024-10-20 at 8 01 44 PM

Overview

We have successfully established a connection to our project's database through the backend server and tested this integration using ThunderClient. A route has been set up for the item model to handle incoming and outgoing requests. This issue aims to outline the next steps required to expand our API to handle additional models and to ensure that all requests conform to the defined model guidelines.

Achievements

Additional Tasks to be made

1. Create Routes for Additional Models

2. Ensure Requests Adhere to Model Guidelines

franRov commented 4 hours ago

The branch containing all of the code is in the 'Database' branch, once reviewd by team lead, branch should be merged with the main branch to allow all team members access to these new features.

YampierFernandez commented 2 hours ago

After a meeting with the assignee I can can confirm his work and I approve for manager review.