I'm Eshaan Aggarwal, a student, and developer from India. π
π» I am a Computer Science and Engineering undergraduate student at the Indian Institute of Technology BHU (Varanasi) pursuing a Bachelor of Technology in my second year.
Creating end points /search for searching different orgs/project, adding search folder, accessing through the api for retreiving search results, with org[id], project [id] so that cards for that same search could be displayed, writing sql query for search orgs/projects by name
for the home page:-
Create a function to get the the orgs associated with each term from the database.
base api :- /api/orgs
filter example one :- orgs?year="2019"&term="fall"
for the projects page:-
create a handler function to apply crud operations on the details of a particular project .
for the filter component:-
create a schema of get all organisation api(for the following endpoint:/api/projects?year=2021&tech=html)
we can get list of all projects from API endpoint which is like /organization/[orgid]/projects.
Creating handler function to get data of all organizations and apply SQL select queries to retrieve data based on user-provided query parameters (e.g., category or organization). Then execute SQL queries, process the results, and pass them to your website's front end for rendering.
We can also collect info about mentors to create different space for mentors . For e.g https://api.mentorship.lfx.linuxfoundation.org/mentors , here we can collect all data and apply SQL select queries to filter it by user id.
Creating an endpoint to retrieve projects within a specific organization. Structure our API endpoints like /organizations/[orgID]/projects
Executing a SQL query to retrieve projects that belong to that specific organization, in something like getProjectsfromOrg
Adding query parameters to our endpoint and modifying the SQL query
For the PastProjectCard we need projects for a particular orgid, I think we should get all projects, at once, and then we can select based on year and term in browser. This will prevent multiple GET request and user would want to switch between projects based on year/term more frequently than between orgs. We need to register and end point /api/orgs/[orgID]/projects. And make SQL query