Git Product home page Git Product logo

kbansal77 / event-creation-and-presence-validation-system-using-nsdt-and-keystroke-dynamics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thecodearrow/event-creation-and-presence-validation-system-using-nsdt-and-keystroke-dynamics

0.0 0.0 0.0 2.66 MB

This is the app developed for the major project, as a part of university curriculum. It uses next.js, material-ui-react, react-jss.

JavaScript 100.00%

event-creation-and-presence-validation-system-using-nsdt-and-keystroke-dynamics's Introduction

Event Creation and Presence Validation System using NSDT and Keystroke Dynamics - Next.js App

This is our Major Project that can easily be deployed into university classrooms, labs, placement activities, guest lecture events etc.Implemented using React + Next.js , Material-UI and Firebase.

You can check it out here-- https://chirp-next-app.herokuapp.com/

Working Screenshots

Screenshot


For Code Readability:

prettier has been used. First install prettier by running

    npm install --save-dev --save-exact prettier
    # or globally
    npm install --global prettier

PLEASE DO NOT PUSH CODE TO THIS REPO WITHOUT RUNNING npm run format

Getting Started

  1. git clone https://github.com/whitetig3r/chirpNext-event-app.git while in a Terminal on macOS or Linux (OR) git bash on Windows.
  2. cd chirpNext-event-app and run yarn install or npm install to install all dependencies. (depending on the package manager you use).
  3. While in the project root directory, run the development server script using npm run dev.
  4. Go to localhost:3000 and you will see the app entry point.
  5. Authentication with Firebase Auth using Google as provider has been implemented. Based on domain of the e-mail addesses, one will be able to create/attend events.
  6. Since all data is fetched dynamically from Firebase Firestore, an account is required. Create a /lib directory and create the following files for various credentials:
    • chirp_config.js for CHIRP_API_KEY and CHIRP_API_SECRET.
    • firebase_client.js description of the file given at the end of this doc.
    • firebase_server.js your firebase service account creds should be exported from this file.
    • firebase_db_URL.js for just the firebase firestore DB url. (can be placed in firebase_client.js)
    • typingDNA_config.js for your typingDNA creds.

Structure of firebase_client.js:

import * as firebase from 'firebase/app';
import 'firebase/firestore';
import "firebase/auth";

export function loadFirebase() {
    try{
        const config = {
            apiKey: "########################",
            authDomain: "########################",
            databaseURL: "########################",
            projectId: "#####################",
            storageBucket: "#####################",
            messagingSenderId: "##################"
        };
        firebase.initializeApp(config);
    }
    catch(err){
        if (!/already exists/.test(err.message)) {
            console.error('Firebase initialization error', err.stack);
        }
    }
    return firebase;
}
NOTE:

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.