Giter Site home page Giter Site logo

timesheet-management-system's Introduction

Firebase and PWA

Time-Sheet Management System is a Web App, which using Node.js Tech stack with the following concepts :

  • Firebase for Authentication, Database, Storage and Hosting
  • PWA for caching, notification and platform independent Installation

    โš ๏ธ Note: PWA stands for Progressive Web App

Application is been Hosted on Firebase using Authentication, Firestore and Storage with PWA enabled for Caching, Push Notification and Installable featrure

Usage

There will be two types of user: Employee and Manager

Employees can perform following:

  • Login
  • Fill Time sheet :
    • Time sheet can be of 2 types, work hours and leave day. In case of leave day you need to upload leave email.
    • Time sheet will expect Type, Date, Start-time, end-time and description.
  • View Time sheet with the status (Inprocess, Approve/Reject).
  • Sign up using username/password, gmail, phone-number.

Manager can perform following:

  • Login
  • View the time sheet data
  • Approve / Reject timesheet

Implementation Concepts

Firebase:

  • Maintain Database in firebase. You can choose db from Realtime DB/Firestore.
  • Maintain file storage in firebase
  • Apply appropriate Security rules on Database and Storage
    • Firestore (Database)
      • Only the authenticated user can read and write the data
    • Storage (Object)
      • Only the current user can write the data
      • Only the authenticated user can read the data
  • Manage authentication in Firebase
  • Host the application in firebase

PWA:

  • Web App should be Installable.
  • Web App should show notification to manager when employee fill timesheet.
  • Web App should show notification to employee when manager takes action on timesheet.
  • All the static resources should be cached.

Important Points.

  1. Screenshots have been attached for each steps
  2. code is attached, which can start working, after putting the creds and Run the command:
  • npm run build with live server
  1. Employee TimeSheet will be filled by weekly and can be viewed for 5 WEEKS and can get the status for that
  2. Manager can get the timesheet for Individual user(Employee) for last 5 WEEKS and can take the action according to it.
  3. The Leave Email Image will store in Firebase Storage and the url will in Firestore with Strong Security Rules.

Usage

  • Clone the Repository
    git clone https://github.com/jitendrapal16/timesheet-management-system.git
    cd timesheet-management-system/
  • Install the dependencies
    npm install
  • Run the project via live server (Install the live server extension in visual code)
    • right click on index.html inside dist/
    • click on Run with Live Server
  • build the project using webpack
    npm run build

Host the Web-App on Firebase

To Host the app on firebase follow the below steps :

  • Setup the configuration before hosting
  • Execute the command to deploy
    firebase login
    firebase init
    firebase deploy

timesheet-management-system's People

Watchers

Jitendra Pal 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.