Skip to content

Medicine Page, Database, and DB connect fixed#158

Merged
ItsRoy69 merged 4 commits into
ItsRoy69:mainfrom
Vansh-Baghel:main
Feb 6, 2023
Merged

Medicine Page, Database, and DB connect fixed#158
ItsRoy69 merged 4 commits into
ItsRoy69:mainfrom
Vansh-Baghel:main

Conversation

@Vansh-Baghel
Copy link
Copy Markdown
Contributor

Medicines Page #63 📐

Guidelines 🔐

I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

  • Contribution Guidelines
  • Code of Conduct

Summary

  • The Backend Schema of getting Medicines was not set correctly, added new properties in models/Med.js related to medicinal information in it.
  • Backend was not getting connected, so added dotenv in index.js with correct path name of .env file (Set your .env file name in path dotenv.config({ path: './env.env' });).
  • Used Axios to call the REST API.
  • Made a complete responsive (Tablet, Mobile, Desktop) page for getting the medicines from the backend. These changes could be seen in Medicines.js and Medicines.css.

Screenshots 📷

Here are the pictures of changes that i have made 🔽
GH-Doc


@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
doc-talk ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 5, 2023 at 4:43PM (UTC)

Signed-off-by: Vansh Baghel <vanshbaghel912@gmail.com>
Signed-off-by: Vansh Baghel <vanshbaghel912@gmail.com>
Signed-off-by: Vansh Baghel <vanshbaghel912@gmail.com>
Signed-off-by: Vansh Baghel <vanshbaghel912@gmail.com>
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