Backend
- Open a terminal and go inside the Backend folder
- (Run Command) rails db:migrate
- (Run Command) rails server
- Download a Postgres Database (https://www.postgresql.org/download/)
- Install and run the Database.
- Note down the user, password, host and database name selected.
- Configure .env root file that is inside the Backend folder to have correct user, password, host and database name
FrontEnd
- Download Visual Studio Code (https://code.visualstudio.com/download)
- Open the App folder inside Visual Code
- at the bottom click on "No Device" and select "Start Flutter Emulator" from the options given
- (Run Command inside the App folder) flutter run -d all -t lib/common/helpers/main.dart
Tests
- Download PostMan (https://www.getpostman.com/downloads/)
- Click on the menu File -> Import to import the PostManCollection.json collection of tests
- Run the Rails server and the Database.
- Run the Collection from Postman