https://github.com/bdashrad/taylor-scents
a generative ai experiment in typescript and vue.js
https://github.com/bdashrad/taylor-scents
Last synced: 5 months ago
JSON representation
a generative ai experiment in typescript and vue.js
- Host: GitHub
- URL: https://github.com/bdashrad/taylor-scents
- Owner: bdashrad
- Created: 2025-02-05T17:59:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-10T23:09:35.000Z (over 1 year ago)
- Last Synced: 2025-04-08T17:21:23.870Z (over 1 year ago)
- Language: Vue
- Size: 384 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# taylor-scents
This project is a fun game that allows users to vote on whether a given phrase is the name of a Taylor Swift song or a Bath and Body Works scent.
## Project Structure
- **src/**: Contains the source code for the application.
- **assets/**: Contains base styles for the application.
- `base.css`: Base styles including CSS variables for colors and layout.
- **components/**: Contains Vue components.
- `HelloWorld.vue`: A component that displays a greeting message.
- `TheWelcome.vue`: A component that provides information and links to resources related to the Vue ecosystem.
- **views/**: Contains the views for the application.
- `GameView.vue`: The view that implements the game logic.
- **types/**: Contains TypeScript types and interfaces.
- `index.ts`: Defines types for game phrases and voting results.
- `main.ts`: The entry point of the application that initializes the Vue app.
- **public/**: Contains public assets.
- `index.html`: The main HTML file that serves as the entry point for the web application.
- `package.json`: Configuration file for npm, listing dependencies and scripts.
- `tsconfig.json`: Configuration file for TypeScript, specifying compiler options.
- `pnpm-lock.yaml`: Locks the versions of the dependencies used in the project.
## Setup Instructions
1. Clone the repository:
```sh
git clone https://github.com/bdashrad/taylor-scents.git
cd taylor-scents
```
2. Install dependencies:
```sh
pnpm install
```
3. Run the development server:
```sh
pnpm dev
```
4. Open your browser and navigate to `http://localhost:3000` to see the application in action.
## Usage
- Users can interact with the game by voting on whether a phrase is a Taylor Swift song or a Bath and Body Works scent.
- The game will display results based on user votes.
## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or features you'd like to add.