Skip to content

basic app setup and api calls implemented#1

Open
Tyler-Davenport wants to merge 1 commit intoRepped-School:mainfrom
Tyler-Davenport:setup-and-promises
Open

basic app setup and api calls implemented#1
Tyler-Davenport wants to merge 1 commit intoRepped-School:mainfrom
Tyler-Davenport:setup-and-promises

Conversation

@Tyler-Davenport
Copy link
Copy Markdown

This PR adds new API modules for handling questions, responses, trials, trial questions, and users, making CRUD operations.

API data modules added:

*Added CRUD functionality for all entities

Project configuration changes:

  • added all Firebase environment variable samples to .env file for firebase authentication and access to backend.

Copilot AI review requested due to automatic review settings September 3, 2025 00:50
@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 3, 2025

👷 Deploy request for drt-next-js-template-app-router pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 5dc3cd4

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR establishes the foundational API layer for a trial/survey application by implementing CRUD operations for core entities and updating project configuration.

  • Adds complete API modules for users, questions, responses, trials, and trial questions with standardized CRUD operations
  • Updates project name from generic template to "bossprep"
  • Removes Firebase environment variables from sample file (likely moved to proper configuration)

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/api/user.js Implements user CRUD operations (get all, get by id, create, update, delete)
src/api/trialQuestionData.js Provides trial question management with user-specific filtering
src/api/trialData.js Handles trial operations including creator-based filtering
src/api/responseData.js Manages response data with question-specific queries
src/api/questionData.js Basic question CRUD functionality
package.json Updates project name to "bossprep"
.env.sample Removes Firebase configuration variables

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/api/user.js
Comment thread src/api/user.js
Comment thread src/api/trialData.js
Comment thread src/api/responseData.js
Comment thread src/api/questionData.js
Comment thread src/api/trialQuestionData.js
@Tyler-Davenport Tyler-Davenport marked this pull request as draft September 3, 2025 00:52
@Tyler-Davenport Tyler-Davenport marked this pull request as ready for review September 3, 2025 00:55
Copy link
Copy Markdown
Author

@Tyler-Davenport Tyler-Davenport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants