Watch the video demo here: https://youtu.be/A7k7BFQTdoc
- Node.js (v21.7.0, v20.12.0) and above
git clone https://github.com/jav0402/uplift-appication.git
npm install
npm run full-start
# or
npm run full-start-win #for windows
- Scan the QR code with the Expo Go app (Android) or the Camera app (iOS), ensure that you have the Expo Go app downloaded.
- Expo Go on Google Play Store
- Expo Go on Apple App Store
- Important: Ensure that your device is connected to the same network as your computer.
- Run the application on an emulator (IOS simulator/ Android Studio).
npm test
If you wish to start the application while maintaining changes made to the backend, i.e. retain new account that were created using the app, run the following command:
npm run full
If you wish to run the application from a clean slate, i.e. reset the backend to its initial state, run the following command:
npm run full-reset
or
npm run full-reset-win #for windows
Other commands include:
npm run build-db
- builds the database using the schema filenpm run clean-db
- deletes the databasenpm run reset-backend
- resets the backend to its initial state, i.e. clean and build the database For windows, add-win
to the end of the command, e.g.npm run reset-backend-win
To run frontend or backend individually, use the following commands:
npm run server
- starts the backend servernpm run start
- starts frontend application using expo
Refer to the package.json file for the delcaration of all commands
These are the default user accounts. Additional accounts can be created using the sign-up page. However, upon resetting the backend using npm run reset-backend
or npm run rull-reset
, all accounts except the default accounts will be deleted.
Password | |
---|---|
[email protected] | passwd |
[email protected] | pass |
[email protected] | pass |
[email protected] | pass |
[email protected] | pass |
Note: These are mock email account that are used for testing purposes only. We do not have ownership of any of the email accounts listed above
- Create a new issue on GitHub, assign yourself, add the appropriate labels, link isssue to the project.
- Change the status of the status to 'Backlog', 'Ready', or 'In Progress' depending on the status of the issue and create a branch.
- Head to the
main
branch andgit fetch
to get changes made to the remote repository. git status
to check if your local repository is up-to-date with the remote repository.- If there are changes
git merge origin/main
to merge changes from the remote repository to your local repository, resolve conflicts if any. git checkout <branch-name>
to move to the issue branch.- Work on the issue, make commits to the remote repository.
git push
thebranch
to the remote repository.- Create a pull request on GitHub, add a brief description of the changes made.
- Request a review from a team member, and update the status of the issue to 'In-Review'.
- Make changes if necessary and merge the pull request.
- Move the issue to 'Done' on the project board.
- Rinse and Repeat.