Skip to content

reidnerrf/RunMaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

140 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to your Expo app 👋

This is an Expo project created with create-expo-app.

Get started (App + API)

  1. Install dependencies

    npm install
  2. Start the API (MongoDB required)

    # ensure MongoDB is running locally or set MONGODB_URI
    export MONGODB_URI="mongodb://localhost:27017/runmaster"
    npm run server
  3. Start the app (in another terminal)

    npm run start

In the output, you'll find options to open the app in a

Quick commands:

npm run android   # open Android emulator
npm run ios       # open iOS simulator (macOS)
npm run web       # run web target

You can start developing by editing files inside the Screens, components, and Lib directories.

Get a fresh project

When you're ready, run:

npm run reset-project

This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.

Learn more

To learn more about developing your project with Expo, look at the following resources:

Join the community

Join our community of developers creating universal apps.

Weather API (Server proxy)

The server exposes a proxy to WeatherAPI current conditions to simplify client usage and hide the API key.

Endpoint:

GET /weather/current?q=<city_or_lat,lon>[&format=json|xml]

Examples:

curl "http://localhost:3000/weather/current?q=Sao%20Paulo" | jq .
curl "http://localhost:3000/weather/current?q=-23.55,-46.63" | jq .
curl -H "Accept: application/xml" "http://localhost:3000/weather/current?q=Lisbon&format=xml"

Notes:

  • Defaults to JSON; pass format=xml for XML.
  • Configure your own key by setting WEATHERAPI_KEY env var; a development key is used if not set.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages