dscnitrourkela / project-dates Goto Github PK
View Code? Open in Web Editor NEWBackend Repository | Avenue for NITR
Home Page: https://dates-docs.web.app/
License: MIT License
Backend Repository | Avenue for NITR
Home Page: https://dates-docs.web.app/
License: MIT License
add support inside mongoDB schema for the field instituteID
inside User object.
with the field mentioned in the design, create a graphQL Mutation which would handle the event creation.
with the field mentioned in the design, create a graphQL Mutation which would handle the story creation.
Refer 25ca0f4 for the former docs.yml code
The invite links should be codes with an expiry time.
It will make things easier for club admins
"People Interested" is a property of an Event. It could be thought of as likes for a post.
Whenever a field resolver tries to populate an already populated nested field, it throws a "Maximum Call size exceeded Error".
The field resolvers should be intelligent enough not to populate the already populated objects which not only would avoid the error, but also helps the datasources send in the populated nested field if it already has it.
Refer PM2 docs for PM2 server restart and also docker docs for docker restart on server restart
Reference Issue: #52
Latest Node.js version is 14 for LTS.
Do check if our code works as expected for v14. If so, request all developers to use v14.
Switching to LTS sooner will be easier than down the line when some things may break
https://nodejs.org/en/about/releases/
Feel free to close this with a comment if all works good
[
{
id:"",
name:"",
clubLogo:""
stories:[
story1,story2
]
},
{
id:"",
name:"",
clubLogo:""
stories:[
story1,story2
]
},
]
A dynamic view on the home page which has the announcements that could be set from somewhere. The data entry interface is not decided yet. But the client should be able to retrieve the announcements.
{type: "TEXT",Data:"something"}
The type of field denotes the type of announcement. It could be an image, document or plain text.
Refer to discussion for details. #88
By embedding user name, the queries will be faster and have better performance for major screens.
Add relation with the club to handle diversity in club posts against the rigid access levels we have
Handle all the consistency issues in database
Once the NITR Verification happens on client-side, a cloud function is responsible for updating the field in the User DB.
let Timetable{
_id
user: User._id
identifier: User.rollNumber
slotInfo{
TA:Course._id
}
}
let Course{
_id
subjectCode
name
ltp
credit
}
let User{
absents[
{
course:Course._id
dateTime:Array(Date)
}
]
}
let CommunicationDirectory{
name
department
designation
officeLine
roomNumber
location
email
}
let Location{
name
description
phoneNumber
category
coordinates{
lat:11
lng: 11
}
workingHours{
weekday:{start:time, end:time}
sat:{start:time, end:time}
sun:{start:time, end:time}
}
}
Get idToken from the user and set the following custom claim.
roles:"ROLE101"
References:
https://firebase.google.com/docs/auth/admin/custom-claims
Having created by fields and updated by fields for user modifying each document
A club admin should be able to remove any member.
Presently for the tests, the server is created with static permissions as we haven't figured out how to pass the headers through the createTestClient object, would have to take a deeper look at it.
Doing that would open up a lot of possibilities and simply things for testing.
Add functionality in grpahql schemas so as to facilitate nested querying in APIs
For Example-
A basic query is-
users{
username,
name
}
A nested query is
users{
username,
name
clubs{
clubname
facad
}
}
On request to elevate a level1 user to level2, we double check in firebase if the Roll Number is actually verified inside Firebase by checking from the user objects.
Is your feature request related to a problem? Please describe.
Rules should be added to events in the form of links.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.