Git Product home page Git Product logo

eventime's Introduction

eventime

Team project

    kanishka sahu Vivek sharma Simarpreet singh

About

Events are the most recurring and crucial part of our studies as we learn a lot from them. But sometimes managing it becomes a cumbersome process and sometimes leads to wrong info spreading and sometimes students don't get updates of new events happening around them. This website is meant to make the event management a bit easier. As everything related to events is collected at a single source therefore everybody has ease to find any event and any info about it without any hassle. In this platform teachers and students can see updates of new events and also show interest in an event by participating in it which also makes the teacher to know the audience engagement. A single platform also makes it easier to manage the events flawlessly.

Italian Trulli

End points of Website

  1. ‘/’ : I. GET method: This route serves the purpose of checking previous login with the use of cookies. It can cause 2 states: a. If user was not logged in then it will redirect to the login page b. If a user already was logged in previously then it will redirect to the homepage endpoint.

  2. ‘/login’ : I. GET method: This method is used to send the login html page to the user. II. POST method: ● This method is used when the user has submitted the login form. ● It also checks that the data user entered exist or is it valid. ● After successful submission of data session is manipulated so that there is no need to login next time. ● In this method we have user id, password as values and we make sure that the hashed password is matched with the user input password’s hash.

  3. ‘/register’ : I. GET method: This method sends the register html page to the user.

30

II. POST method: ● This method is called when the user submits the registration data. ● Data include user id, password, access type, department name. ● The input password is firstly converted to its hash and then it is stored in database

  1. ‘/home’ : I. GET method: ● This method handles display of homepage by sending home html to user. ● It also takes events data from our mongodb database. ● We have used jinja templating to manipulate the events over the html page.

  2. ‘/account’ : I. GET method: ● In this method the account html page is sent to the user. ● Prior to that the account detail is fetched from the backend. ● There is signout option and the participated events list which is useful to look the overview of user’s activity

  3. ‘/event’ : 6.1 ‘/event/new’ : I. GET method: This method sends the new event form page to the user.

II. POST method: ● This is called when form is submitted by the user ● It has various data like name, description, timings, department name, venue. ● After submission the data is pushed to the event collection.

6.2 ‘/event/<event id>’: I. GET method: ● The html page of the event is loaded. ● Firstly the event document is collected from the backend which is passed as a dynamic route. ● Then Participants are collected from that document along with the updates of the event.

II. POST method: For admin: ● It is used when the admin needs to edit the data such as removing participants. ● It also handles addition of new updates. For student: ● It is used to participate in the event ● If already participated in the rolling out from that event.

6.3 ’/event/<event id>/<response type>’: I. POST method: a) Response type = ‘push’: Adds participants to the event.

b) Response type = ‘pull’: Removes/Rollout participant from event. c) Response type = ‘update’: Add a new update to the event. d) Response type = ‘delupd’: Delete an update of an event.

6.4 '/event/<event id>/<partid>/remove' :

I. POST method: This route is only used by admin and teachers to remove a student from participants ist of an event.

  1. ‘/logout’ : I. GET method: Logs the user out of the website.

eventime's People

Contributors

sahukanishka avatar sharmavivek223 avatar

Stargazers

 avatar

Watchers

 avatar

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.