Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
3d3e4bb
updated content block
macnev2013 Aug 24, 2025
6bb8ee2
fix content alignement
macnev2013 Aug 24, 2025
587df08
emoji alignemtn fix
macnev2013 Aug 24, 2025
3c055a7
fix hydration
macnev2013 Aug 24, 2025
70a8e8f
fix title save
macnev2013 Aug 24, 2025
ef6214f
page recusrsion
macnev2013 Aug 24, 2025
c702648
live page name updates in sidebar
macnev2013 Aug 24, 2025
ab38b79
page sticky seletion
macnev2013 Aug 24, 2025
3ac3b00
remove new page
macnev2013 Aug 24, 2025
3c2f39d
fix search
macnev2013 Aug 24, 2025
e057b1d
fixed sidebar page width
macnev2013 Aug 24, 2025
fe36e9f
fixed pages deletion
macnev2013 Aug 24, 2025
061d3e8
support for trash
macnev2013 Aug 24, 2025
99f80a8
add support for fav
macnev2013 Aug 24, 2025
665df71
fix action from dropdown
macnev2013 Aug 24, 2025
49c41e5
dropdown width fix
macnev2013 Aug 24, 2025
3a45e20
edited on status
macnev2013 Aug 24, 2025
650f85d
dashboard updated
macnev2013 Aug 24, 2025
bcec0cc
cleanups for homepage
macnev2013 Aug 24, 2025
5e27740
update settings page
macnev2013 Aug 24, 2025
0075365
fix settings modal
macnev2013 Aug 24, 2025
c475a09
add user management
macnev2013 Aug 24, 2025
9f6e026
fixed socket based page updates
macnev2013 Aug 24, 2025
d341412
fixed user login
macnev2013 Aug 24, 2025
912e0e6
fix online presence indicator
macnev2013 Aug 24, 2025
2c30101
workspace creation
macnev2013 Aug 24, 2025
7156895
avatar fix
macnev2013 Aug 24, 2025
8ad7b57
update settings modal
macnev2013 Aug 24, 2025
ebcecb7
add support for live doc update
macnev2013 Aug 24, 2025
6ad261b
presence indicator
macnev2013 Aug 24, 2025
897697c
block with presence indicator
macnev2013 Aug 24, 2025
d1657bb
fixed minor bugs
macnev2013 Aug 24, 2025
1a201f7
add notificaiton click
macnev2013 Aug 24, 2025
744bd6c
fixed mentiond
macnev2013 Aug 24, 2025
6586e3e
working notification
macnev2013 Aug 24, 2025
aa49cea
avatar gradient
macnev2013 Aug 24, 2025
4c914af
add presence fix
macnev2013 Aug 25, 2025
13d4c71
remove unused icons
macnev2013 Aug 25, 2025
a95577c
comnig soon notification
macnev2013 Aug 25, 2025
d2fc549
setting fixed
macnev2013 Aug 25, 2025
8b1ec8b
reomved not used keywords
macnev2013 Aug 25, 2025
e027b2d
deployment
macnev2013 Aug 25, 2025
7c03e99
chore(deps): bump peter-evans/dockerhub-description from 3 to 4
dependabot[bot] Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Dependencies
node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Next.js
.next
out
dist

# Environment files
.env
.env.local
.env.production.local
.env.development.local
.env.test.local

# IDE
.vscode
.idea
*.swp
*.swo
*~
.DS_Store

# Testing
coverage
.nyc_output

# Git
.git
.gitignore

# Documentation
README.md
CLAUDE.md
AUTH_SETUP.md
FEATURES.md
docs

# Docker
Dockerfile
docker-compose*.yml
.dockerignore

# CI/CD
.github
.gitlab-ci.yml
.circleci

# Development
.eslintrc.json
.prettierrc
jest.config.js
cypress
cypress.json

# Logs
logs
*.log

# OS files
Thumbs.db

# Temporary files
tmp
temp
.tmp
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Database
DATABASE_URL="postgresql://postgres:password@localhost:5432/notion_clone"
MONGODB_URI="mongodb://localhost:27017/notion_clone"
DATABASE_URL="postgresql://postgres:password@localhost:5432/snapdocs"
MONGODB_URI="mongodb://localhost:27017/snapdocs"

# Redis
REDIS_URL="redis://localhost:6379"
Expand All @@ -13,7 +13,7 @@ NEXTAUTH_SECRET="your-secret-key-change-this-in-production"
S3_ENDPOINT="http://localhost:9000"
S3_ACCESS_KEY="minioadmin"
S3_SECRET_KEY="minioadmin"
S3_BUCKET="notion-clone"
S3_BUCKET="snapdocs"
S3_REGION="us-east-1"

# Socket.io for real-time
Expand Down
59 changes: 59 additions & 0 deletions .env.production.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Production Environment Variables
# Copy this file to .env.production and fill in your values

# Database
DATABASE_URL="postgresql://postgres:SECURE_PASSWORD@postgres:5432/snapdocs"
MONGODB_URI="mongodb://snapdocs_user:SECURE_PASSWORD@mongodb:27017/snapdocs?authSource=snapdocs"

# Redis
REDIS_URL="redis://:SECURE_PASSWORD@redis:6379"
REDIS_PASSWORD="SECURE_PASSWORD"

# NextAuth
NEXTAUTH_URL="https://your-domain.com"
NEXTAUTH_SECRET="generate-with-openssl-rand-base64-32"

# File Storage (MinIO or S3)
S3_ENDPOINT="https://s3.your-domain.com"
S3_ACCESS_KEY="your-access-key"
S3_SECRET_KEY="your-secret-key"
S3_BUCKET="snapdocs"
S3_REGION="us-east-1"

# Socket.io for real-time
NEXT_PUBLIC_SOCKET_URL="https://your-domain.com"

# App Configuration
NEXT_PUBLIC_APP_URL="https://your-domain.com"

# Database Passwords (for docker-compose)
POSTGRES_PASSWORD="SECURE_PASSWORD"
MONGO_ROOT_PASSWORD="SECURE_ROOT_PASSWORD"
MONGO_PASSWORD="SECURE_PASSWORD"

# OAuth Providers (optional)
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""

# Email Service (optional)
SMTP_HOST=""
SMTP_PORT=""
SMTP_USER=""
SMTP_PASSWORD=""
SMTP_FROM=""

# Analytics (optional)
NEXT_PUBLIC_GOOGLE_ANALYTICS=""
NEXT_PUBLIC_POSTHOG_KEY=""
NEXT_PUBLIC_POSTHOG_HOST=""

# Sentry Error Tracking (optional)
SENTRY_DSN=""
NEXT_PUBLIC_SENTRY_DSN=""

# Feature Flags
ENABLE_SIGNUP="true"
ENABLE_OAUTH="true"
MAINTENANCE_MODE="false"
52 changes: 52 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "04:00"
open-pull-requests-limit: 10
reviewers:
- "nevil"
labels:
- "dependencies"
- "npm"
commit-message:
prefix: "chore"
include: "scope"

# Enable version updates for Docker
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "04:00"
open-pull-requests-limit: 5
reviewers:
- "nevil"
labels:
- "dependencies"
- "docker"
commit-message:
prefix: "chore"
include: "scope"

# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "04:00"
open-pull-requests-limit: 5
reviewers:
- "nevil"
labels:
- "dependencies"
- "github-actions"
commit-message:
prefix: "chore"
include: "scope"
Loading
Loading