GithubHelp home page GithubHelp logo

employees_app_firebase's Introduction

Technologies used:

  • React.js & Css for frontend.
  • Firebase as backend.
  • Vite.js as module bundler.

1. Setup Guide - Steps to Start the Application

  • Clone the project repository from the remote repository where it is stored.

  • Navigate to the folder by typing cd assignment in the terminal.

  • Install all the required dependencies using the npm install command.

  • Run the npm run dev command to start the development server.

  • Open your web browser and go to http://localhost:5173 to see the application running.

2. Folder Structure Overview

The architecture of the project is divided into several folders:

  • src: This folder contains all the source code files for the application.

  • src/components: This folder contains Header and Footer components. Each component contains its JSX, styling, and other related files.

  • src/components/shared: This folder contains components that are commonly used - Button and Input.

  • src/context: This folder has two components - EmployeesContext and TasksContext. This is where the state is managed and shared to other components.

  • src/db: This folder contains all the Firebase-related code. It includes a firebase.js file, which initializes the Firebase app and sets up the connection to the Firestore database.

  • src/pages: This folder contains all the pages that the user can navigate to - Employees, Tasks and TopEmployees.

  • src/.env: This file contains environment variables that are used throughout the application to access the associated API and perform various tasks, such as reading or writing data to a database or storage system.

3. Additional Functionalities

1) Paggination

The pagination functionality allows the user to view the tasks and employees in the table one page at a time. Tables show 5 tasks and employees per page.

2) Filter Options

The filter options functionality allows the user to filter the tasks in the table by their status. The user can select one of four options: All, Todo, Completed or In progress. The table then shows only the tasks that match the selected filter option.

Why I chose these additional functionalities

I chose these extensions to the application because they enhance the user experience by making it easier to navigate and manage the tasks. The pagination functionality helps users quickly navigate through large amounts of data, while the filter options functionality allows them to find specific tasks more easily. Additionally, I chose Vite.js as the module bundler for its faster development server and build process.

employees_app_firebase's People

Contributors

nikolad93 avatar

Stargazers

Min Htet Oo 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.