microsoft / BikeSharing360_MobileApps

Beautiful, cross-platform native mobile apps for BikeSharing360.
441 stars 239 forks source link

BikeSharing360

During our Connect(); event this year we presented 15 demos in Scott Guthrie’s and Scott Hanselman’s keynotes. If you missed the keynotes, you can watch the recording in Channel 9.

This year, we built the technology stack for a fictional company named BikeSharing360, which allows users to rent bikes from one location to another.

BikeSharing360 is a fictitious example of a smart bike sharing system with 10,000 bikes distributed in 650 stations located throughout New York City and Seattle. Their vision is to provide a modern and personalized experience to riders and to run their business with intelligence.

In this demo scenario, we built several apps for both the enterprise and the consumer (bike riders). You can find all other BikeSharing360 repos in the following locations:

BikeRider Xamarin app and Maintenance Cordova app

This repository contains the BikeRider consumer-facing mobile apps for renting bikes and the BikeSharing360 maintenance app built with Cordova.

Note: This document is about the Xamarin apps. For the Cordova app click here.

BikeRider

Supported Platforms: iOS, Android, and Windows

The BikeRider app is available for three platforms:

BikeRider features 93.7% code share across all platforms (7.34% iOS / 8.61% Android / 2.72% Windows).

Xamarin.Forms App (BikeRider)

Xamarin.Forms allows you to build native UIs for iOS, Android, and Windows from a single, shared codebase. You can dive into mobile development with Xamarin.Forms by following our free self-guided learning from Xamarin University. This project exercises the following patterns and features:

Three platforms

Screens

Sign Up Home My rides Main menu Profile New ride Report Event

Licenses

This project uses some third-party assets with a license that requires attribution:

Requirements

Setup

Download or clone the repository. This is a solution with seven projects.

BikeRider

Rebuild the solution to get all neccesary NuGet packages.

Access to GlobalSettings.cs file available in the Portable Class Library to introduce your Azure endpoints and APIs keys.

GlobalSettings.cs

Deploy to Azure

Use the Backend Services repository to deploy backend services for Xamarin App to your subscription.

Enjoy!

How to sign up for Microsoft Azure

You need an Azure account to work with this demo code. You can:

Blogs posts and videos

Here's links to blog posts related to this project:

Clean and Rebuild

If you see build issues when pulling updates from the repo, try cleaning and rebuilding the solution.

Copyright and license

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.