-
follow the instructions in this link to install Spring Boot.
NOTE: for build tools, we choose to use Gradle.
-
The code structure looks like this:
com +- superclass +- server +- Application.java | +- model | +- Product.java +- dao | +- ProductRepository.java +- controller | +- ProductController.java +- service | +- ProductService.java
-
To run the server, use the command line below
# inside the folder ~/server gradlew bootRun
###1.2 Frontend
-
follow the instructions in this link to install React Native
-
To run the app, use the command line below
# inside the folder ~/superclass react-native link # for android platform react-native run-andorid # for ios platform react-native run-ios