How piyushh2/expense-management-system works
Project type and purpose
• This is a SharePoint Framework (SPFx) client-side web-part project named “ems.” It uses TypeScript, React, SCSS, and the SPFx toolchain (Gulp, Webpack) to build a deployable web part for SharePoint Online and Microsoft Teams.
File structure
• Top-level config folder: SPFx build and deployment settings (config.json, serve.json, sass.json, package-solution.json, Azure Storage deploy manifest).
• gulpfile.js: orchestrates tasks like building, packaging, and serving.
• src/index.ts: entry point linking SPFx to your web parts.
• src/webparts/ems:
• EmsWebPart.manifest.json: SPFx metadata (title, description, supported hosts).
• EmsWebPart.ts: TypeScript class that bootstraps your React component.
• components/: React components (Dashboard, Table, Navbar, etc.), styling (.scss), and localization (loc/en-us.js).
• Standard Node artifacts (package.json, .eslintrc.js, tsconfig.json).
README for additional insights
• Confirms SPFx version 1.20.0.
• Mentions building and serving locally (npm install, gulp serve).
• Intended use in SharePoint and Teams, likely calling Microsoft Graph or SharePoint REST.