Git Product home page Git Product logo

ngoworld-backend's Introduction

License: MIT GitHub release (latest by date) GitHub repo size

What is Milan ?

Milan is a hub to connect NGOs, Charities, and the world to collaborate and build a better tomorrow. Sign up as an organization/user and be a cause for change. Don't forget to drop a star ⭐.


C Sponsor Tamal
Milan Readme Banner

Tech Stack(Backend) 💻

C C C C C C C


Contributing to Milan 🔐

Remember, Good PR makes you a Good contributor !

We at Milan work hard to maintain the structure, and use conventional Pull request titles and commits. Without a proper template for the PR, not following the guidelines and spam might get the pull request closed, or banned.

1. Setting up the project locally

2. Contributing guidelines & More

License 👮

Milan is Licensed under the MIT License. Please go through the License at least once before contributing.

Support 🙏

Don't forget to drop a star ⭐. A heartfelt thank you to those who have contributed to this project. We are really grateful for your contribution. You all are amazing. Opensource for the win 🚀

ngoworld-backend's People

Contributors

dependabot[bot] avatar mahendradani avatar rajbhattacharyya avatar sundroid-ops avatar tamalcodes avatar tejaskh3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

ngoworld-backend's Issues

🐞Bug: Using the `STATUS` utils instead of direct numbers

Description

Currently, we have Status codes and Status messages that are configured for each of those codes that are being used. The goal is to replace any codes we find, with these , like 200 might be replaced with STATUSCODE.OK and then the message for some cases saying "Internal server error" might be replaced with STATUSMESSAGE.INTERNAL_SERVER_ERROR and so on.

Please ensure that this is done for all the codes in the project.

Screenshots

image

Browser 🥦

Google Chrome

Checklist ✅

📂Other: For Clean Code

Code Cleaning

Why do we need to have id here, considering other schema's id's were not assigned implicitly.
Screenshot (64)

And there is a typo for timestamps here.

Screenshot (65)

I would like to fix this.

🥦 Browser

Google Chrome

Checklist ✅

📂Other: user schema need to be refactored

What would you like to share?

under the user folder both ReportProblemSchema.js and userSceham.js are written with bad practice no camel casing used as done by other part of repo.

image
image

🥦 Browser

Brave

Checklist ✅

🐞Bug: Using the `STATUS` utils instead of direct numbers

Description

Currently, we have Status codes and Status messages that are configured for each of those codes that are being used. The goal is to replace any codes we find, with these , like 200 might be replaced with STATUSCODE.OK and then the message for some cases saying "Internal server error" might be replaced with STATUSMESSAGE.INTERNAL_SERVER_ERROR and so on.

Please ensure that this is done for all the codes in the project.

Screenshots

image

Browser 🥦

Google Chrome

Checklist ✅

[DOCS] Adding details about OAuth credentials

Description

Setting up backend Documentation need to be updated according to the current requirement, as it doesn't contain information about google auth credentials.

Screenshots

image

🥦 Browser

Google Chrome

Checklist ✅

💡Feature: Get routes for events

Description

With the event schema made, a route must be set up that is responsible for getting the events.
Make sure we are able to fetch all the events AND events with the slug property so that we are able to get the details of one single event.

Also add documentation for the same, in Api.yaml file the documentation would be better for folks who are getting started.

Screenshots

No response

🥦 Browser

Google Chrome

Checklist ✅

💡Feature: Events route for creating an event

Description

With the event schema made, a route must be set up that is responsible for adding an event. It would take in all the needed details and create an event in the database.

Also add documentation for the same, in Api.yaml file the documentation would be better for folks who are getting started.

Screenshots

No response

🥦 Browser

Brave

Checklist ✅

💡Feature: Creating a new schema for events

Description

We need a new schema to be made for the events. These events will be shown later on, and one single club can make multiple events. The properties are mentioned below, more can be added when the PR is made (upon discussion). The file can be made directly in routes > events > EventSchema.js

Properties:

  • name : String, Required
  • about : String, Required
  • hostclubslug : String, Required
  • hostclubname : String, Required
  • bannerimage : String, Not-Required
  • thumbnailimage : String, Required
  • mode : String, Required
  • address : String, Not-Required
  • city : String, Not-Required
  • state : String, Not-Required
  • country : String, Not-Required
  • iframe : String, Not-Required
  • date : String, Required
  • time : String, Required
  • tags : Array of Strings, Required
  • isApproved : Boolean, Not required, Default: false
  • createdAt : Date, Required
  • updatedAt : Date, Required

Screenshots

No response

🥦 Browser

Google Chrome

Checklist ✅

Bug: Issue in sending data to GoogleOauth as Custom input

Description

Description:

Issue:

  • UserType input not going to the database as custom input by google auth

Expected Behavior:

  • User able to set the userType during creation of user account
  • Google auth take that userInput and send that to the database

Screenshots

No response

Browser 🥦

Google Chrome

Checklist ✅

💡Feature: Schema and handling for `website` and `iframe`

Description

With reference to #1078 and #1077, we need the schema to be updated properly.

  • We would need a website field (not required) and a iframe field (not required) in the schema.
  • We need to make sure that whenever the club is signing up, the fields are updated too as per the data that is received.

Screenshots

No response

🥦 Browser

Brave

Checklist ✅

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.