Skip to content

yyorkchan/FYP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FYP

This is Our FYP. 。゚ヽ(゚ ´Д`)ノ゚。

It is a minimalistic cross platform mobile finanical management application. It comes in three screens:

  • Home screen: Display and order stored transactions
  • Add screen: Add new transactions to record. Recurring transactions supported!
  • Trend screen: Predict future transactions based on regression models.

Important Notes

  • Clone this project to your desired path
  • Run yarn After clone
  • ALWAYS USE yarn add to install packages, avoid using npm install
  • Use Expo Go to Debug
  • Run node index.js in /backend to start express server
  • Add your expo go IP in help.js

Current To-Do List:

Next up (๑•̀ㅂ•́)و✧ 🔥 ALL DONE!

Done! ✧◝(⁰▿⁰)◜✧ ✅

  1. Build Home Page: Done!
  2. Figure out how to navigate: Done!
  3. Get familiar with Retool: Done!
  4. Fix the hard code IP address problem: Done!
  5. Build Add Record Page frontend: Done!
  6. Handle insert sql query to retool database: Done!
  7. Start working on interim present ppt: Done!
  8. Start working on interim report: Done!
  9. Add support for recurring records
  10. Added Delete records function: Legendarily Done! ٩(。・ω・。)و
  11. Implement Sort & Filter in Home Screen
  12. Only Allow Non-empty value in Add Screen
  13. Built partially the trend screen frontend
  14. Powerful and efficient regression model for processing transactions
  15. Implement a graph for display predicted values

General Structure

Frontend

  • App.js is the main Javascript file that contains all the Pages to be navigate
  • All 3 frontend pages should be contained in the directory "/frontend"
  • All unique css should be included at the end of the corresponding frontend js, Read Homepage.js for the detailed formatting
  • All common css should be included in "style.js", including fontSize, windowSizes etc

Backend

  • index.js is the main Javascript file for express server which hosts fetch, add and delete endpoint via retool
  • retool.js runs sql queries on retool, retrieving, adding and deleting records

Util

  • filterSort.js contains functions for filtering and sorting transactions
  • helper.js contains miscellaneous functions and some generic constants
  • estimator.js contains regression models with pre-preprocessing functions