Merged
Conversation
Charan-Nimmagadda
requested changes
Apr 7, 2025
server/.env
Outdated
| # Server Configuration | ||
| PORT=5000 | ||
| MONGO_URI=mongodb://localhost:27017/IPMS | ||
| MONGO_URI=mongodb://127.0.0.1:27017/IPMS |
Collaborator
There was a problem hiding this comment.
dont change the connection string.
server/index.js
Outdated
| if (!mongoose.connection.readyState) { | ||
| mongoose | ||
| .connect(process.env.MONGO_URI, mongoConfig) | ||
| .connect("mongodb://127.0.0.1:27017//IPMS", mongoConfig) |
Collaborator
There was a problem hiding this comment.
dont change connection string
server/services/insertData.js
Outdated
| async function insertFormData(formData) { | ||
| try { | ||
| console.log(JSON.stringify(formData, null, 2)); | ||
| if (mongoose.connection.readyState === 0) { |
Collaborator
There was a problem hiding this comment.
connection will be established, u dont have to check
Charan-Nimmagadda
requested changes
Apr 7, 2025
Collaborator
Charan-Nimmagadda
left a comment
There was a problem hiding this comment.
I cannot merge it because too many changes need to be made
Contributor
Author
|
The files are updated now. Fixed the react form and also updated the signup page to route to form page if user is a student. |
Charan-Nimmagadda
requested changes
Apr 9, 2025
client/public/index.html
Outdated
| To begin the development, run `npm start` or `yarn start`. | ||
| To create a production bundle, use `npm run build` or `yarn build`. | ||
| --> | ||
| <!-- In client/public/index.html --> |
Collaborator
There was a problem hiding this comment.
I don't see anything important about this—please remove it
Contributor
Author
|
Fixed the errors now @NNPhaniCharan Please check. |
Charan-Nimmagadda
requested changes
Apr 9, 2025
Collaborator
Charan-Nimmagadda
left a comment
There was a problem hiding this comment.
The form not getting saved in DB
Charan-Nimmagadda
requested changes
Apr 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Complete the Sprint 1 Tasks by Group C.