Skip to content

Web app that randomizes prompts. Includes one default set of prompts. Custom prompts can be added as desired

License

Notifications You must be signed in to change notification settings

attepee/task-randomizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

task-randomizer

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.

Developing

  1. Navigate to src

  2. Install dependencies

    npm install
  3. Start the app

     npx expo start

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

You can start developing by editing the files inside the app directory. This project uses file-based routing.

Deploying

gh-pages is used to deploy the app to Github Pages. Refer to Expo documentation for more information.

  1. Open app.json and your repository name as a value to exporemental baseUrl property.

    {
       "expo": {
          "experiments": {
             "baseUrl": "/repo-name-here"
          }
       }
    }
    
  2. Make a new directory public and add file .nojekyll in it.

  3. Open package.json and add deploy and predeploy scripts.

    "scripts": {
       ... 
       "deploy": "gh-pages -t -d dist",
       "predeploy": "expo export -p web"
    }
    
  4. run npm run deploy to deploy the app.

  5. Configure Github Pages to serve the app from the gh-pages branch.

About

Web app that randomizes prompts. Includes one default set of prompts. Custom prompts can be added as desired

Resources

License

Stars

Watchers

Forks