Skip to content

Appended the documentation to Readme.md#257

Open
aditya4196 wants to merge 7 commits intolugenx:mainfrom
aditya4196:main
Open

Appended the documentation to Readme.md#257
aditya4196 wants to merge 7 commits intolugenx:mainfrom
aditya4196:main

Conversation

@aditya4196
Copy link

@aditya4196 aditya4196 commented Nov 4, 2023

Issue #255

@aditya4196 aditya4196 requested a review from lugenx as a code owner November 4, 2023 15:14
@aditya4196
Copy link
Author

I have added few more ideas to the ideas.md file

Copy link
Owner

@lugenx lugenx left a comment

Choose a reason for hiding this comment

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

hi @aditya4196 , this is good thank you, i have suggested some improvements. please check the comments.

README.md Outdated
- Open the cloned folder in VS Code. Open the terminal and make sure its pointing to the root of the cloned project.


- Database creation
Copy link
Owner

Choose a reason for hiding this comment

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

when reading from the start of the "how to run" section, all the sentences starts with verbs (Clone the repo..., Open the cloned folder...), it feels like this should be like this: "Create a database for development use"

README.md Outdated
- Create a cluster (by default is Cluster0 which can be used)
- Once the cluster is up, you need to click on the 'Connect' tab and follow the drivers section to retrieve the mongodb connection url and save it for the next steps

<br>
Copy link
Owner

@lugenx lugenx Nov 7, 2023

Choose a reason for hiding this comment

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

lets remove this <br>

README.md Outdated

<br>

- Running Backend Node JS Application:
Copy link
Owner

Choose a reason for hiding this comment

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

can we please change this old text too?

"Run the backend NodeJS application:"

README.md Outdated

- Change the directory to server folder using terminal command: `cd server`
- At the root of the server directory, create an .env file and copy the content from .env.example into the new .env file.
- update the 'MONGODB_URL' property in the .env file with the mongodb connection url saved during Database creation
Copy link
Owner

Choose a reason for hiding this comment

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

capitalize the first later: "Update the..."

README.md Outdated
- Insert habit dummy data:

- Go back to the MongoDB website to your project you created.
- You will see a 'test' collection populated
Copy link
Owner

Choose a reason for hiding this comment

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

this part is unclear for me, how "test" collection populated.

@aditya4196
Copy link
Author

Sure, i will make changes and commit again

@aditya4196
Copy link
Author

I have pushed the requested changes

@aditya4196
Copy link
Author

Deleted the documentation.md file and just corrected one small change in the Readme.md

Copy link
Owner

Choose a reason for hiding this comment

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

I think we can remove this file since we are using the same text in the readme.

answerOptions: ["3boxes", "4boxes"],
__v:0
}
```
Copy link
Owner

@lugenx lugenx Nov 12, 2023

Choose a reason for hiding this comment

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

Just paid attention to the content here, I know this is just test data, but I think it would be nice to have the data closer to something we would really use in real. For example, having Uber or Lyft as ridesharing is not something our habit tracker shoud care about. See the below data as example:

  {
    "category": "Recycle",
    "description": "Reduce the amount of waste by using reusable bags!",
    "question": "Which one of these did you use today?",
    "answerOptions": ["Reusable bag", "Plastic bag", "Both", "None"]
  }
  {
    "category": "Commute",
    "description": "Carpool with coworker or friends",
    "question": "How did you commute to work today?",
    "answerOptions": ["Drived", "Carpooled", "Bike", "Public Transport"]
  }
  {
    "category": "Recycle",
    "description": "Separate your recycble materials",
    "question": "Did you separate your recycble materials today?",
    "answerOptions": ["Yes", "No"]
  }

changed the test data
@aditya4196
Copy link
Author

I updated the test data. Can you review it?

Copy link
Owner

@lugenx lugenx left a comment

Choose a reason for hiding this comment

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

Hi @aditya4196, thanks for your work on this; it looks good. I noticed the documentation.md file is back in the PR. since you've removed it before, could you please ensure it's not included again? Thank you!

Copy link
Owner

Choose a reason for hiding this comment

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

please remove Documentation.md file.

@aditya4196
Copy link
Author

@lugenx, I was out of touch for last couple of months. Anything else to do with this as it is not yet closed?

@lugenx
Copy link
Owner

lugenx commented Nov 10, 2024

@lugenx, I was out of touch for last couple of months. Anything else to do with this as it is not yet closed?

Please check the comments above.

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