Code Monkey home page Code Monkey logo

project-avocado-web's People

Contributors

abhibhaw avatar allcontributors[bot] avatar dependabot[bot] avatar designrknight avatar harishteens avatar justemoilouise avatar jwhacheng avatar m-code12 avatar riteshsp2000 avatar thesmader avatar yigitcukuren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

project-avocado-web's Issues

Create a query to fetch ICS events.

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Create a query that fetches takes any of the following integers as a parameter:

  • 1 - Fetch previous events
  • 2 - Fetch current events
  • 3 - Fetch upcoming events

Use google sheets as a database to store the data.

  • Schema:
Query Name Query Type
Event Name String
Event Time DateTime
Event Venue String
Event Description String

Additional context
For reference of how to use google sheets as a database, you can refer to the following repo: https://github.com/DesignrKnight/sheets-api

Fetch Prefect details from CoordinatorType

Is your feature request related to a problem? Please describe.

  • Currently, the PrefectType can display the coordinator related with the particular prefect. A similar thing is to be done with CoordinatorType. Add a field to display the corresponding prefect.

Describe the solution you'd like

  • Add a field in the Coordinator Schema to store prefect id.
  • In the Coordinator field use this prefect id to fetch the prefect details

Prevent Duplicate creation

Describe the bug

  • While creating a new user (be that any of the 4 types), the user is directly saved to the database without checking if there exists a previous user with same details.

Expected behavior

  • Before saving to the database, checks should be made to see if an existing user with the same Roll Number exists or not. If not, proceed with saving. If yes throw an error.

Split Schema.js file into Types, Queries and Mutations files

  • Currently all the types, root queries, mutations are placed inside a single schema.js file.
  • Separate this file into 3 different files for queries, mutations, types respectively.
  • Import all three files inside Schema.js and export the GraphQLSchema from here itself.

Get prefect info in mentor query

Currently, the mentor query just returns the prefect ID. Requires modification to get the prefect details in the mentor query. Use the prefect ID to query the prefects collection and get the prefect details.

Add mutation APIs for ICS Team Data

APIs for the following functionalities are required for the admin panel:

  • Add/Edit/Remove Coordinator
  • Add/Edit/Remove Prefect
  • Add/Edit/Remove Mentor
  • Add/Edit/Remove Mentee

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.