ARReactNative is a demonstration project that combines the power of React Native for mobile app development and .NET Core for the backend API. The goal is to showcase the integration of these technologies to create an augmented reality (AR) application.
The project is structured to exhibit a seamless communication between the React Native frontend and the .NET Core backend. The backend API adheres to the CQRS pattern to handle commands for generating AR houses.
- ARReactNative
House.cs
: Definition of theHouse
class representing AR houses.Program.cs
: Entry point for the .NET Core application.HouseController.cs
: REST API controller for handling AR house generation commands.HouseCommand.cs
: Command model for generating AR houses.HouseCommandHandler.cs
: Command handler for generating AR houses.
- ReactNativeApp
App.tsx
: React Native app component for displaying AR house information.
- AR House Generation: The API supports the generation of AR houses based on user-defined dimensions.
- CQRS Pattern: Commands for generating AR houses are handled using the CQRS (Command Query Responsibility Segregation) pattern.
- React Native Frontend: The React Native app displays information about the generated AR houses.
-
Clone the Repository:
git clone https://github.com/your-username/ARReactNative.git cd ARReactNative
-
Run the .NET Core API:
cd ARReactNative dotnet run
-
Run the React Native App:
cd ReactNativeApp npx react-native run-android
or
cd ReactNativeApp npx react-native run-ios
- .NET Core 3.1 or later
- Node.js
- React Native CLI
- Other dependencies...
Feel free to contribute to the project by opening issues or pull requests.
This project is licensed under the MIT License.