Major Group Project for 5CCS2SEG Software Engineering Group Project
Team All Good
- Muhsin Mohamed
- Huy (Filip) Phan
- Aron Kumarawatta
- Quan Tran
- Raymond Cheung
- Kai Ming Tey
- Joshua Wong
- Ling (Wesley) Teo
- George Ivanov
The deployed version of the application can be found at https://spending-tracker-all-good.netlify.app/
Default access credentials for test user:
- Email: johndoe@example.com
- Password: 123
Algorithm to convert from array buffer to base64 was taken from https://stackoverflow.com/questions/38432611/converting-arraybuffer-to-string-maximum-call-stack-size-exceeded
Detailed installation instructions can be found in the developer handbook PDF attached with the submission
The React client and Node server dependencies are to be installed separately.
NOTE: npm
is included in Node.js installations
To install server & client dependencies:
npm installAll
Example:
PORT = 3001
DB_URI = "DB URI HERE"
TEST_DB_URI = "TEST DB URI HERE"
CORS_ORIGIN = "http://localhost:8081"
JWT_SECRET = "JWT SECRET TOKEN HERE"
JWT_VALID_FOR = "30d"
cd server
npm run seed
cd server
npm run seedAchievements
The commands to install dependencies and run the backend and frontend have been encapsulated in commands that can be run from the root directory:
Running the product (frontend & backend concurrently)
npm run start
Alternatively, you can run the backend and frontend separately with the below commands:
cd server
npm run dev
cd client
npm run start