This is an Expo project created with create-expo-app
.
This app randomizes prompts given to it. The app has one default set of prompts themed around music, but custom prompts can be added via the app. You can try the app here (only in finnish for now).
The default set of prompts, "the music game", gives prompts for playing music. Perfect when you want to get to know someone's taste in music or when hanging out with friends and you want something to do but playing some real game seems too much. The app gives prompts like "song you have sung in karaoke", "song you never get tired of" and "song that you used to love as a child" in randomized order and then you just play some song that fits the prompt.
-
Navigate to
src
-
Install dependencies
npm install
-
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
gh-pages
is used to deploy the app to Github Pages. Refer to Expo documentation for more information.
-
Open
app.json
and your repository name as a value to exporementalbaseUrl
property.{ "expo": { "experiments": { "baseUrl": "/repo-name-here" } } }
-
Make a new directory
public
and add file.nojekyll
in it. -
Open
package.json
and adddeploy
andpredeploy
scripts."scripts": { ... "deploy": "gh-pages -t -d dist", "predeploy": "expo export -p web" }
-
run
npm run deploy
to deploy the app. -
Configure Github Pages to serve the app from the
gh-pages
branch.