Skip to content

Commit e569184

Browse files
Dawood AhmedDawood Ahmed
authored andcommitted
Pater Stack version 0.0.1
0 parents  commit e569184

46 files changed

Lines changed: 11584 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

Dockerfile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# =========================
2+
# 1 Builder
3+
# =========================
4+
FROM node:24-alpine AS builder
5+
6+
WORKDIR /app
7+
8+
COPY package.json package-lock.json ./
9+
RUN npm ci
10+
11+
COPY . .
12+
RUN npm run build
13+
14+
15+
# =========================
16+
# 2️ Development Runner
17+
# =========================
18+
FROM node:24-alpine AS runner
19+
20+
WORKDIR /app
21+
22+
ENV NODE_ENV=development
23+
ENV NEXT_TELEMETRY_DISABLED=1
24+
25+
# Copy from builder
26+
COPY --from=builder /app /app
27+
28+
# Fix permissions for Next.js dev cache
29+
RUN mkdir -p .next && chown -R node:node /app
30+
31+
USER node
32+
EXPOSE 3000
33+
34+
CMD ["node", "server.js"]

Dockerfile.local

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM node:24-alpine
2+
3+
WORKDIR /app
4+
5+
COPY package.json package-lock.json ./
6+
RUN npm ci
7+
8+
COPY . .
9+
10+
RUN mkdir -p .next && chown -R node:node /app
11+
12+
USER node
13+
14+
EXPOSE 3000
15+
CMD ["npm", "run", "dev"]

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Pater Stack
2+
3+
A simple starter project built with **Next.js 16**, **Tailwind CSS v4**, and **shadcn/ui**, featuring **light and dark theme support** and **Docker setup** for easy development and deployment.
4+
5+
---
6+
7+
## Features
8+
9+
- Next.js 16 (App Router)
10+
- Tailwind CSS v4
11+
- shadcn/ui components
12+
- Light & Dark theme support
13+
- TypeScript ready
14+
- Responsive layout
15+
- Dockerfile for containerized setup
16+
- Docker Compose for local development
17+
18+
---
19+
20+
## Tech Stack
21+
22+
- Next.js 16
23+
- Tailwind CSS 4
24+
- shadcn/ui
25+
- TypeScript
26+
- Docker
27+
28+
---
29+
30+
## Getting Started
31+
32+
### Install dependencies
33+
```bash
34+
npm install

components.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/app/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"aliases": {
15+
"components": "@/components",
16+
"utils": "@/lib/utils",
17+
"ui": "@/components/ui",
18+
"lib": "@/lib",
19+
"hooks": "@/hooks"
20+
},
21+
"registries": {}
22+
}

docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
services:
2+
paper-stack:
3+
build:
4+
context: .
5+
dockerfile: Dockerfile.local
6+
image: paper-stack
7+
container_name: paper-stack
8+
ports:
9+
- "3000:3000"
10+
environment:
11+
- NODE_ENV=development
12+
- NEXT_TELEMETRY_DISABLED=1
13+
volumes:
14+
- .:/app
15+
- /app/node_modules

eslint.config.mjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import nextVitals from "eslint-config-next/core-web-vitals";
3+
import nextTs from "eslint-config-next/typescript";
4+
5+
const eslintConfig = defineConfig([
6+
...nextVitals,
7+
...nextTs,
8+
// Override default ignores of eslint-config-next.
9+
globalIgnores([
10+
// Default ignores of eslint-config-next:
11+
".next/**",
12+
"out/**",
13+
"build/**",
14+
"next-env.d.ts",
15+
]),
16+
]);
17+
18+
export default eslintConfig;

next.config.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
output: 'standalone',
6+
reactCompiler: true,
7+
8+
images: {
9+
remotePatterns: [
10+
{
11+
protocol: 'https',
12+
hostname: '**',
13+
port: '',
14+
pathname: '**',
15+
},
16+
],
17+
}
18+
19+
};
20+
21+
export default nextConfig;

0 commit comments

Comments
 (0)