Giter VIP home page Giter VIP logo

petari's Introduction

Hi 👋🏽, I'm Sahil

An aspiring Full Stack Developer from India

sahil1786

💫 About Me:

👨🏻‍🎓 I’m currently pursuing B.Tech in Information Technology in Final year

🌱 I’m currently learning React

🤝🏽 I’m looking to collaborate on real-world projects

📫 How to reach me [email protected]

⚡ Fun fact: i love to watch web series & Movies

🌐 Socials:

Instagram LinkedIn Twitter

An image of @sahil7786's Holopin badges, which is a link to view their full Holopin profile

💻 Tech Stack:

C Java JavaScript HTML5 Python Firebase Heroku Vercel Netlify Express.js jQuery NodeJS Nodemon React MongoDB MySQL Figma Canva GIT LINUX Swagger Postman

📊 GitHub Stats:



🏆 GitHub Trophies

🔝 Top Contributed Repo


petari's People

Contributors

abhigna-arsam avatar adityasen115 avatar ananyag309 avatar anjaliavv51 avatar dakshsinghrathore avatar dhananjaysingh10 avatar harikavaleti911 avatar heli0707 avatar laxelspal avatar mahek0620 avatar meetjain1 avatar namandude avatar nipun005 avatar pankaj-bind avatar pradnyagaitonde avatar prateek579 avatar praveenkumar5048 avatar pruthaa17 avatar ramakrushnabiswal avatar sahil1786 avatar samani-humaira avatar samarthurane avatar shadyx6 avatar sharmi4590 avatar sibam-paul avatar suhanipaliwal avatar thevijayshankersharma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

petari's Issues

Color combinations do not coordinate .

The website pages looks quite unattractive , color combinations do not coordinate . Hey Sahil1786 , I would like to add some styles / designs to make it more attractive . Please assign this task to me .

Refactoring Needed - Decoupling Functions, Routes, and Controllers from app.js

The current app.js file houses all functions, routes, controllers, and even nodemailer implementations, resulting in a cluttered and unmanageable codebase. To enhance maintainability and scalability, we propose refactoring by decoupling these components from app.js and organizing them into separate modules or directories. This approach will improve readability, facilitate code reuse, and foster easier collaboration among developers.

Solutions :

  1. Separate Concerns: Move functions, routes, controllers, and nodemailer implementations into distinct modules.
  2. Modularization: Organize code into smaller, reusable components for improved maintainability.
  3. Refactor app.js: Restructure app.js to serve as the main entry point, delegating functionality to separate modules.
  4. Documentation: Update project documentation to reflect the new structure and guide developers.

Feedback and Contributions Welcome

NGO Registration is not working

Describe the bug
While doing signup on NGO registration, we are getting Internal Server Error.

To Reproduce
Steps to reproduce the behavior:

  1. Click on NGO from HomePage
  2. Click on SignUp
  3. Fill the NGO registration Form and submit it
  4. See the internal server error.

Expected behavior
NGO should able to signup successfully

Screenshots

image

Add issues

As the maintainer of a Collaborate repo, keeping Issues up-to-date will help the student community understand what they can do to contribute. Issues should vary by the easy (update documentation) to the difficult (add a new feature). The more involved you are, the more opportunities there are to collaborate.

Recommendations:

Add issues of varying difficulty to the repo often. you must add the tag GSSoC'24, Level 1, Level2, Level 3 good first issue etc.
How we cacluclate the Scores on Leaderboard: Every PR one point
Level 1: 10 points
Level 2: 25 points
Level 3: 45 points
Try to add some documentation issues as well it would be easy for beginner contributor to explore opensource through your repo.
Generate issues even if you plan on solving them, so the repository appears as active.
Contribute/commit often to the repo so it does not go stale.
Reference https://github.com/Recode-Hive/Stackoverflow-Analysis/issues

Regarding the UI

I am a contributor GSSOC 2024,Assign me this project to i complete all the things then i can move for backend🙂,
-Header logo
-Navbar
-Logo with anchor tag
-Hover effect in Logo
-Arranging HTML elements
-Font Family
-Also REsponsive

Improper documentation

Poorly written documentation, it is hard for the contributers to setup this project in their system.

Security Issue: Storing Passwords Without Protection in NGORoutes.js

In the NGORoutes.js file, when users register as NGOs, their passwords are being stored as plain text in the database. This means that if someone gains unauthorized access to the database, they could easily see users' passwords. To keep user information safe, passwords should be encrypted (hashed) before saving them. This adds an extra layer of security by making it difficult for hackers to decipher passwords even if they get access to the database.

I am GSSOC'24 Contributer.
Please assign me this task.

Creating Dockerfile for Petari

Is your feature request related to a problem? Please describe.
The problem is the lack of a Dockerfile for the Petari project.

Describe the solution you'd like
Implementing a Dockerfile for the Petari project to containerize the application and simplify deployment.

Add an Input Box for Admin Responses in Complaint Section

Currently, there is no way to respond to complaints. We need a feature that allows administrators to provide responses to complaints for better issue resolution.

Solution:-
I propose adding an input box that enables admins to provide tailored solutions or responses to each complaint submitted. This enhancement would improve communication and problem-solving efficiency within our system.

How do we know when the feature is complete? :- Ensure the input box for admin responses is working correctly.

@Sahil1786 please assign this issue to me

Add a new page

It is good to have POLICIES for any organization and Petari is not having one . I can add this by creating a new page .
The policy page would describe each of the following policies in detail : 1.Food Safety 2.Quality Assurance 3.Nutritional Guidelines 4.Documentation and Reporting 5.Freshness and Shelf Life 6.Food Handling and Storage 7.Food Waste Management in Inventory

Landing page

I see in your website not a proper landing page
i want to add this
tech stack to be used
-aos.js
-ityped.js
-tilt.js

Missing CONTRIBUTING.md File in Repository

The repository currently lacks a CONTRIBUTING.md file, which is an important resource for guiding potential contributors on how to engage with the project effectively. A CONTRIBUTING.md file outlines the contribution guidelines, coding standards, and procedures for submitting pull requests, thus streamlining the contribution process and ensuring consistency across contributions.

Could you please assign this issue to me under GSSOC 24.

Add Topics

In GSSoC'24, GitHub Topics will help the discoverability of your project.

I see that you already have great topics on your repository!
I would recommend adding the name of the company like the software you use to build like "vs-code, ghdesktop" to improve your discoverability.

If you are happy with the topics you have, feel free to close this issue. 👍

Add CONTRIBUTING.md file to repository

Currently, the repository lacks a CONTRIBUTING.md file, which serves as a crucial guide for potential contributors on how to effectively participate in the project. The absence of this file makes it challenging for new contributors to understand the project's contribution guidelines, coding standards, and other important information.

controllers for backend

Is your feature request related to a problem? Please describe.
Only model is defined in backend, I would be writing the controllers and routes for the same.

Describe the solution you'd like
Writing controllers and routes for the models defined in the backend.

I am doing this under GSSOC'24.

add new Food Tracking

need to add a page in user dashboard and when the user will put his respected id , then the food status will show

The Navigation menu is not working.

Describe the bug
The Navigation menu About, Project and Contact is not working

To Reproduce
Steps to reproduce the behavior:

  1. Go to the main page
  2. Click on About or Projects or Contact
  3. See the internal error it is not navigating towards the project or contact side of page

Expected behavior
User should be able to navigate using navigation menu

Screenshots
These two are not working on navigation menu
Screenshot (14232)

Reset Password Functionality

Reset password functionality is not present in the project.

Describe the solution you'd like
I want to implement the reset password functionality in the project so that if the user forgot their password , they can easily reset it using their email address.

Describe alternatives you've considered
I would like to add this feature , by sending a token to their email for a particular time span. They can use this token to send the patch request along with their new password and email address, If the infromation send by the user is correct , we allow them to update their password.

What problem is this feature trying to solve?
The feature aim is to solve the user forget password problem , and allow the user get login even though they forgot their password.

How do we know when the feature is complete?
The feature is complete when the reset password functionality is fully implemented and integrated into the project's development workflow.

Implementation of Dark/Light Mode Toggle

Is your feature request related to a problem? Please describe.
Currently, the absence of a dark/light mode toggle limits user customization options and may lead to discomfort during prolonged usage, especially in low-light environments.

Describe the solution you'd like
I would like to implement a toggle switch within the application interface, allowing users to seamlessly switch between dark and light modes. Dark mode should feature darker color schemes for improved readability and reduced eye strain.

Describe alternatives you've considered
An alternative approach could involve providing predefined themes with dark and light mode options. However, a toggle switch offers a more intuitive and user-friendly solution.

Additional context
The addition of a dark/light mode toggle aligns with modern design trends and user preferences for customizable interfaces. It enhances user satisfaction and usability by providing a personalized browsing experience tailored to individual preferences.

Feat: Automate greeting using Github bot 🤖

Describe the feature

As the contributor count rises on the repo, it becomes increasingly challenging for maintainers to personally greet and encourage each contributor for their valuable input. Equally important is the reminder for them to review the project's contribution guidelines.

Add ScreenShots

PR greeting message ⬇️

CleanShot_2024-05-11_at_14 39 402x

ISSUE greeting message ⬇️

CleanShot_2024-05-11_at_14 40 482x

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSoC'24 contributor
  • I want to work on this issue

Dockerization for Streamlining Setup and Deployment Workflow

Dockerization presents an exciting opportunity to enhance the accessibility and usability of our open source project by simplifying setup processes and streamlining deployment workflows. By embracing Docker containers, empower contributors and users to engage with this project more effectively, driving collaboration and innovation within this open source community.

Add templates for issues

Issue templates are very helpful for a collaboration repo. When users identify a bug or want to add a new feature, you can provide templates so you can collect all the pertinent information you need to fix a bug or add a new feature.

We recommend creating a “Report Bug” and “Feature Request” issue template.
you can refer this: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository

Some suggested prompts/questions you can add to a “Report Bug” template are:

Briefly describe the bug
What is the expected behavior?
Please provide step by step instructions on how to reproduce the bug
Some suggested prompts/questions you can add to a “Feature Request” issue template are:

Briefly describe your feature request
What problem is this feature trying to solve?
How do we know when the feature is complete?

Reference: https://github.com/Recode-Hive/Stackoverflow-Analysis/issues/new/choose
Click on Get Started button and copy the template to your

Setting up CI/CD pipeline using Github Actions

The problem is the lack of a CI/CD pipeline, resulting in manual and error-prone testing and deployment processes.

Describe the solution you'd like
Implementing a CI/CD pipeline to automate testing, building, and deployment tasks, ensuring faster and more reliable updates to the project.

Describe alternatives you've considered
Third-party CI/CD services provide an alternative, but setting up our own pipeline offers more control and flexibility.

What problem is this feature trying to solve?
The feature aims to solve the problem of manual testing and deployment processes by automating them with a CI/CD pipeline.

How do we know when the feature is complete?
The feature is complete when the CI/CD pipeline is fully implemented and integrated into the project's development workflow.

Backend initialization using MVC

I have designed the backend as follows using MVC pattern and would use expressJS for writing rest apis and mongoDB for storing data.
The MVC structure of the backend:

Models:

  1. Admin Model:

    • Attributes: username, password, fullName, Mobile
  2. NGO Model:

    • Attributes: username, password, NGOName, Mobile, NgoID, NgoLocation, approved
  3. Query Model:

    • Attributes: name, email, subject, message, createdAt
  4. User Model:

    • Attributes: email, password, fullName, address, Mobile, dob, gender, flatNo, addressLine1, addressLine2, city, state, zip, foodInventory

Controllers:

  1. Admin Controller:

    • registerAdmin
    • loginAdmin
    • getAllAdmins
  2. NGO Controller:

    • registerNGO
    • loginNGO
    • approveNGO
    • getNGODetails
    • getAllNGOs
  3. Query Controller:

    • createQuery
    • getQueries
    • getQueryById
    • updateQueryStatus
    • deleteQuery
  4. User Controller:

    • registerUser
    • loginUser
    • updateUserProfile
    • deleteUser
    • getUserProfile

Routes:

  1. Admin Routes:

    • POST /api/admin/register
    • POST /api/admin/login
    • GET /api/admin/all
  2. NGO Routes:

    • POST /api/ngo/register
    • POST /api/ngo/login
    • PUT /api/ngo/:id/approve
    • GET /api/ngo/:id
    • GET /api/ngo/all
  3. Query Routes:

    • POST /api/query/create
    • GET /api/query/all
    • GET /api/query/:id
    • PUT /api/query/:id/updateStatus
    • DELETE /api/query/:id
  4. User Routes:

    • POST /api/user/register
    • POST /api/user/login
    • PUT /api/user/:id/updateProfile
    • DELETE /api/user/:id
    • GET /api/user/:id.

So I would be working on the backend part and implement all these, I would be working under GSSOC'24. Please assign me.

Adding Animation

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Your landing page already looks fantastic, but incorporating animations could make it even more captivating. With my experience in this area, I'm eager to contribute to this enhancement.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

An animation on the image of your landing page which will keep on moving and will make you page look more Appealing

Additional context
Add any other context or screenshots about the feature request here.

Screenshot (116)
Screenshot (115)

What problem is this feature trying to solve?

How do we know when the feature is complete?

Adding Icons on the navbar

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

The current navbar lacks icons, which impacts its visual appeal and usability. Users might find it less engaging and intuitive to navigate through the website without visual cues provided by icons.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I propose adding respective icons to the navbar to enhance its visual appeal and improve user navigation experience. These icons will align with the theme of the website and provide users with clear visual cues for each navigation option

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

One alternative could be redesigning the navbar layout or color scheme. However, adding icons is a more direct and effective solution to address the visual appeal and usability concerns of the navbar

Additional context
Add any other context or screenshots about the feature request here.

Screenshot 2024-05-11 080754
Screenshot 2024-05-12 083752

What problem is this feature trying to solve?

How do we know when the feature is complete?

Adding icons on navbar

in the navbar , adding of icons for different sections such as home, about us , contact would enhance it.

Make About Us page more attractive

Is your feature request related to a problem? Please describe.
I would like to change the looks and the content of the "About us" page to reflect more in the mission and vision of the website.

Please assign this task to me .

#issue

Ui can be more interactive (GSSOC'24) (contributor)

Girlscript Summer of Code Introduction/Tracking

👋 Hi @Sahil1786,

I am Prince,web developer(Core Team) Girlscript Summer of Code. I'll be collaborating with you on preparing your repo for GSSoC'24 Program

Why are these changes required?
After Analysing last year's contributions and feedback it would be great for students to have a couple of standard readme files on the repo to understand what the project is all about and some issues detailing what they can contribute. This will help you to see increased engagement in your repository as well.

As mentioned students get a chance to learn step by step, how to build this project as well as invite mentors to collaborate and add features to this repo. I will generate issues, which will provide guidance on how to prepare your repo for Girlscript summer of code 2024 on 10th May.

This issue will serve as a tracking issue to track all issues related to GSSoC'24. I recommend creating a new branch for every issue and opening a pull request to track changes so we can effectively collaborate with each other and merge changes when you and I feel like those changes are ready to be merged on your primary branch.

If you have any questions or concerns, please feel free to leave a comment on this issue or any of the other issues that are generated.

I look forward to working with you :octocat:

GSAP Animations to this Website

I thought of adding the GSAP animations to this website which can help the user feel the best experience.So I would like to work on this Issue. So can u please assign this issue to me

Learn.md

Learn repos should have a LEARN.md file to teach student how to build your project step by step. You can explain how to build your project with text, code snippets, images, or even short (5 minute) long video lessons. As the maintainer of a Learn repo, the LEARN.md file requires you to think critically about how to explain the building of your project and how to also make it engaging. We don't expect you to be an expert teacher, but we would like you to reflect on how difficult it was to get to your level of knowledge, and then provide friendly guidance to help other students to learn.

Reference: https://github.com/Recode-Hive/Stackoverflow-Analysis/blob/main/Learn.m

Adding User Authentication Middleware using JWT Tokens

Description

To add user authentication in this application by integrating JWT(Json Web Token) based authentication middleware.

Proposed Solution :

1.Implement JWT token generation upon user login.

2.Configure middleware to authenticate incoming requests using JWT tokens.

3.Add token validation logic to ensure tokens are valid and not expired.

4.Secure sensitive routes and endpoints by requiring valid JWT tokens for access.

Labels :
enhancement, security, middleware

Assignees :
Assign me this issue under gssoc'24

Add functionality to the button to perform the action of deleting or accepting from the backend

"In all sections—user dashboard, NGO dashboard, and admin dashboard—you need to be able to accept or delete users, NGOs, or complaints. The primary task is to execute the appropriate action based on the clicked button. For instance, if 'accept' is selected, the relevant data will be accepted. Conversely, if 'delete' is chosen, the data will be removed from the backend database."

Public and Hardcoded Author Information & Other Bugs

Description:
There are several issues in the provided code that need to be addressed:

Hardcoded Author Information:

Sensitive information about the admin user, including email, password, full name, and mobile number, is hardcoded in the code. This poses a significant security risk and violates best practices for handling sensitive data.
Inconsistent Error Handling:

Some routes do not handle errors consistently, leading to potential internal server errors without proper feedback to the client.
Code Structure and Redundancy:

The code for rendering the admin dashboard is repeated multiple times across different routes, making it harder to maintain and increasing the chance of bugs.
Screenshot 2024-05-15 at 12 56 55 PM

Miscellaneous Errors:

Minor typos and mistakes, such as res.status(500).jso({ error: "Internal server error" }); which should be res.status(500).json({ error: "Internal server error" });.

demand forecasting of the food

predictive Demand Forecasting: ML algorithms can analyze historical data on food consumption patterns, seasonal variations, and other factors to predict future demand accurately. This helps food suppliers, distributors, and retailers optimize inventory levels, reducing overstocking and minimizing food waste due to spoilage.

Enhancing the UI of web pages

Hello Sahil1786, the UI of overall pages doesn't look seamless so I would like to enhance and unify the appearance of the pages.
Please assign this task to me.

Add a food status updater to the NGO dashboard. ***

The food status updater feature on the NGO dashboard enables administrators to efficiently manage and monitor the status of food-related activities. Through this tool, users can update the availability, distribution, and consumption status of food resources in real-time. This functionality streamlines coordination, enhances transparency, and ensures timely responses to changing needs within the organization's food assistance programs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.