Skip to content

Commit

Permalink
init v2
Browse files Browse the repository at this point in the history
  • Loading branch information
qcp committed Oct 6, 2024
1 parent e265633 commit 0a9f93b
Show file tree
Hide file tree
Showing 49 changed files with 6,679 additions and 10,223 deletions.
55 changes: 16 additions & 39 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,31 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

name: Deploy server to Deno Deploy
on:
# Runs on pushes targeting the default branch
push:
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
branches: main
pull_request:
branches: main

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: pages
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
cache: pnpm
- run: pnpm install
- run: pnpm build
env:
VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }}
VITE_SUPABASE_KEY: ${{ secrets.VITE_SUPABASE_KEY }}
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
NITRO_PRESET: deno_deploy
- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
# Upload dist repository
path: ./dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
project: estim-poker
entrypoint: server/index.ts
root: .output
25 changes: 22 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
dist
dist-ssr
.env
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
85 changes: 56 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,75 @@
# Estim Pocker
# Nuxt 3 Minimal Starter

Try it:
https://qcp.github.io/estim-poker/
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Description
## Setup

Simple tool for estimate tasks in your team.\
Known as `Agile pocker`, `Planning pocker` or `Scrum pocker`.
Make sure to install the dependencies:

Like other tools:
```bash
# npm
npm install

- https://planningpokeronline.com
- https://agilepoker.ru/
# pnpm
pnpm install

Made for fun, without limitations (consider free-tier of supabase).
# yarn
yarn install

Feel free to make PR here or contact me.
# bun
bun install
```

## Stack
## Development Server

- `Vue 3` + `Vite 5` + `TypeScript 5`
- `Supabase` free-tier
- `PrimeVue` for ui
- `Github pages`
- some [skill icons](https://icones.js.org/collection/skill-icons)
Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

## Local development
# pnpm
pnpm run dev

Provide supabase connection with `.env` file
# yarn
yarn dev

# bun
bun run dev
```
VITE_SUPABASE_URL=https:/EstimPockerTryitEstimPockerTryitEstimPockerTryitEstimPockerTryitEstimPockerTryit/* .supabase.co
VITE_SUPABASE_KEY=*
```

Install deps and run
## Production

Build the application for production:

```bash
npm install
npm run dev
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

## Features wish list
Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

- [ ] Add `lint`, `format` and `type-check` prehook
- [ ] Custom vote system generator
*/
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
6 changes: 6 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<template>
<div>
<NuxtRouteAnnouncer />
<NuxtWelcome />
</div>
</template>
Loading

0 comments on commit 0a9f93b

Please sign in to comment.