Skip to content

Implementation of a UI design in Figma without the use of UI Component frameworks.

Notifications You must be signed in to change notification settings

kholam/submit-expense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Submit Expense

This application was boostraped with create-react-app.

Application folder structure

|--App
  |--__tests__
  |--assets
    |--css
    |--fonts
  |--components
    |--form
      |--FormInput.tsx
      |--Label.tsx
      |--index.ts
    |--modal
      |--index.ts
      |--ModalContent.tsx
      |--ModalFooter.tsx
      |--ModalHeader.tsx
      |--SubmitExpenseModal.tsx
    |--svg
      |--AppIcon.tsx
      |--CalendarIcon.tsx
      |--CloseModalIcon.tsx
      |--index.ts
  |--helpers
    |--utils.ts
  |--interface
    |--form
      |--FormInputProps.ts
      |--FormValues.ts
      |--LabelProps.ts
    |--index.ts
    |--ModalProps.ts
    |--SubmitExpenseModalProps.ts
    |--SVGProps.ts
  |--pages
    |--index.ts
    |--SubmitExpense.tsx

Run the App

To the run the application

  • clone the project
git clone https://github.com/DataSciGeek/submit-expense.git
  • Open the application in your preferred editor
  • Install the dependencies. To install the dependencies, navigate to the root folder and use the command below.
yarn add
  • Run the application
yarn start

Testing

Use the commands below to install the modules for required testing

yarn add enzyme enzyme-adapter-react-16 --dev
yarn add react-test-renderer --dev 
  • Run test. Launches the test runner in interactive watch mode.
yarn test

Reference

About

Implementation of a UI design in Figma without the use of UI Component frameworks.

Resources

Stars

Watchers

Forks