Skip to content

Commit

Permalink
Merge pull request #21 from byte-abc/bichi/dev
Browse files Browse the repository at this point in the history
nuxt server 추가
  • Loading branch information
bichikim authored Aug 16, 2023
2 parents 61b30a9 + 19908ca commit a0eab7c
Show file tree
Hide file tree
Showing 37 changed files with 1,052 additions and 1,997 deletions.
7 changes: 0 additions & 7 deletions apps/key-stone/.gitignore

This file was deleted.

66 changes: 0 additions & 66 deletions apps/key-stone/auth.ts

This file was deleted.

29 changes: 0 additions & 29 deletions apps/key-stone/keystone.ts

This file was deleted.

25 changes: 0 additions & 25 deletions apps/key-stone/package.json

This file was deleted.

140 changes: 0 additions & 140 deletions apps/key-stone/schema.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/key-stone/tsconfig.json

This file was deleted.

5 changes: 4 additions & 1 deletion apps/nuxt/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ logs
!.env.example

# graphql codegen
/queries/codegen.ts
/queries/codegen.ts

# docker db volumes
.db-data
3 changes: 2 additions & 1 deletion apps/nuxt/app.vue → apps/nuxt/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
</q-layout>
</template>
<script lang="ts" setup>
const counter = useState('counter', () => Math.round(Math.random() * 1000))
const amount = 1000
useState('counter', () => Math.round(Math.random() * amount))
</script>
5 changes: 5 additions & 0 deletions apps/nuxt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nuxt Full Stack Web Application

## server nitro x apollo-server x type-graphql x prisma

## client nuxt x apollo-client x tailwind
6 changes: 6 additions & 0 deletions apps/nuxt/RESEARCH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Research

한번 써보고 싶은 리스트

## 써볼꺼 Retake - Postgres용 하이브리드 검색 오픈소스
https://github.com/getretake/retake
16 changes: 16 additions & 0 deletions apps/nuxt/components/Bar.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<script setup lang="ts">
import {useCom1} from '~/use/use-com1'
const props = defineProps({})
const emit = defineEmits([])
const com1 = useCom1()
onMounted(() => {
com1.bar = 'bar!'
})
onUnmounted(() => {
com1.bar = ''
})
</script>
16 changes: 16 additions & 0 deletions apps/nuxt/components/Foo.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<script setup lang="ts">
import {useCom1} from '~/use/use-com1'
const props = defineProps({})
const emit = defineEmits([])
const com1 = useCom1()
onMounted(() => {
com1.foo = 'foo!'
})
onUnmounted(() => {
com1.foo = ''
})
</script>
20 changes: 17 additions & 3 deletions apps/nuxt/components/pin-code-input/BPinCodeInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
:type="type"
:focused="focused && index === lengthRef"
/>
<b-pin-code-receiver @input="onInput" @remove="onRemove" @enter="onEnter" />
<b-pin-code-receiver
class="pin-code-receiver"
@input="onInput"
@remove="onRemove"
@enter="onEnter"
/>
</div>
</template>

Expand Down Expand Up @@ -42,7 +47,16 @@

<style>
.pin-code-input {
background-color: red;
display: flex;
background-color: black;
overflow: hidden;
display: inline-flex;
position: relative;
}
.pin-code-receiver {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
12 changes: 12 additions & 0 deletions apps/nuxt/local-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3"
services:
db:
image: postgres:latest
container_name: postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: "user"
POSTGRES_PASSWORD: "pa22w0rd"
volumes:
- ./.db-data/:/var/lib/postgresql/data
Loading

0 comments on commit a0eab7c

Please sign in to comment.