This is the repository for the frontend React Native application of ProdActivity. A gamified productivity app that encourages users to keep active by rewarding their progress. The backend repository can be found here.
The React Native docs give full instructions on setting up React Native on macOS or Windows, instructions on macOS setup are below.
- Install Node and Watchman
brew install node watchman
- For iOS development, install Xcode from the Mac App Store and this will download compilation tools and simulators for you
- You will also need to install the Xcode Command Line Tools. Open Xcode, then choose "Preferences..." from the Xcode menu. Go to the Locations panel and install the tools by selecting the most recent version in the Command Line Tools dropdown.
- To use iOS dependencies, you will need CocoaPods
sudo gem install cocoapods
- Navigate to the frontend directory
cd prodactivity-frontend
- Install the project's dependencies from Node
npm install
- Install the iOS dependencies
cd ios && pod install
- Run the application either through the debug menu in VS Code, or using the following command
npx react-native run-ios
To run on a real device, you can view instructions here
This is the repository for the backend .NET Core application of Prodactivity: A gamified productivity app that encourages users to keep active by rewarding their progress. The frontend repository can be found here.
Full instructions on how to install .NET Core and setup in VS Code can be found here
- Clone the repo to your local machine
- Navigate to the project in your Terminal, and go to the prodactivity-backend directory
cd prodactivity-backend
- Install .NET Core 3.1 SDK from Microsoft's website
- Restore the project and ensure dependencies are added properly
dotnet restore
- Build and run the project by pressing the "Run" button in the debug menu in VS Code or run the command below
dotnet run
Documentation is generated using NSwag for Swagger documentation.
To view the documentation:
- Build and run the project by pressing the "Run" button in the debug menu in VS Code or run the command below
dotnet run
- Go to
localhost:5001/swagger
in your browser