-
-
-
- Get started by editing{" "}
-
- src/app/page.tsx -
- . -
- - - Save and see your changes instantly. - -
diff --git a/README.md b/README.md index e215bc4..4270b55 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,7 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. + + +# Structure +Store on local machine and use a middleware to process (compress) the file and facilitate storage. \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index 1b48155..fababeb 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 258fc9b..3b19ef7 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,10 @@ "lint": "next lint" }, "dependencies": { + "bun-types": "^1.2.9", + "next": "15.3.0", "react": "^19.0.0", - "react-dom": "^19.0.0", - "next": "15.3.0" + "react-dom": "^19.0.0" }, "devDependencies": { "typescript": "^5", diff --git a/services/docker-compose.yml b/services/docker-compose.yml new file mode 100644 index 0000000..c78fffd --- /dev/null +++ b/services/docker-compose.yml @@ -0,0 +1,15 @@ +services: + postgres: + image: postgres:17.4-alpine3.21 + restart: always + shm_size: 128mb + environment: + - POSTGRES_PASSWORD=test + - POSTGRES_USER=test + ports: + - 5432:5432 + adminer: + image: adminer + restart: always + ports: + - 8080:8080 \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index e68abe6..25af71e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,103 +1,15 @@ -import Image from "next/image"; +import { retrieve_post } from "@/db"; export default function Home() { - return ( -
- src/app/page.tsx
-
- .
-