Skip to content

senolatac/springboot-react-web-mobile

Repository files navigation

Full Stack Web And Mobile Development, Spring Boot, React, MySQL, Hibernate, Liquibase

The application structure is as follows.

  • server-product-management - Microservice implemented using Spring boot. More info
  • client-product-management - A NodeJs application implemented using React. This consumes services hosted by server side. More info
  • mobile-product-management - A NodeJs application implemented using React-Native. This consumes services hosted by server side. More info

Build

1) Build Server Side

$ cd server-product-management
$ gradlew bootJar
$ gradlew bootRun

2) Build and run client side

$ cd client-product-management
$ npm start

3) Build and run mobile side

$ cd mobileProductManagement
$ npm install
$ react-native eject
$ react-native link
$ react-native run android or react-native run-ios

Access server side using following URL

http://localhost:8080

Access application using following URL

http://localhost:3000

Access mobile application using emulator or real device

$ For android; react-native run android 
$ For IOS; react-native run-ios