My professional portfolio built with modern Nuxt.js technologies, showcasing projects, skills, and experience.
- Features
- Tech Stack
- Prerequisites
- Getting Started
- Development
- Environment Variables
- Project Structure
- Integrations
- Deployment
- Contributing
- License
- Contact
- Responsive Design - Fully responsive layout that works on all devices
- i18n Support - Multilanguage content with Nuxt i18n
- Content Management - Easy content editing with Nuxt Content and Nuxt Studio
- Modern Styling - Beautiful UI built with Tailwind CSS and SASS
- Performance Optimized - Fast loading times and SEO optimized
- Analytics - WakaTime integration to track coding statistics
- Discord Integration - Real-time Discord status display
- CI/CD - Automated deployment with NuxtHub
- UI Framework β Vue.js 3
- Framework β Nuxt 3
- Content Management β Nuxt Content
- Design System β NuxtUI
- CMS & Editing β Nuxt Studio
- Language β TypeScript
- Deployment β NuxtHub on Cloudflare
- Styling β Sass & Tailwind CSS
- Package Manager β Bun
- Internationalization β Nuxt i18n
- Database β Cloudflare D1 (SQLite)
- Composables β VueUse
- Validation β Zod
- Icons β Iconify
Before you begin, ensure you have the following installed:
- Node.js (v18 or higher recommended)
- Bun (latest version) - Install Bun
- Git for version control
- Cloudflare Account (for deployment)
-
Clone the repository
git clone https://github.com/ArthurDanjou/artsite.git cd artsite -
Install dependencies
bun install
-
Set up environment variables
cp .env.example .env
Then edit
.envand fill in your configuration values (see Environment Variables section). -
Start the development server
bun run dev
The application will be available at
http://localhost:3000π
# Start development server
bun run dev
# Build for production
bun run build
# Preview production build locally
bun run preview
# Lint code
bun run lint
# Deploy to Cloudflare
bun run deploy
# Generate Cloudflare types
bun run cf-typegenThe project uses:
- ESLint for code linting with stylistic rules (single quotes, no trailing commas)
- TypeScript for type safety
- Nuxt DevTools enabled for enhanced development experience
Create a .env file in the root directory with the following variables:
# GitHub Studio Integration (for content management)
STUDIO_GITHUB_CLIENT_ID=your_github_client_id
STUDIO_GITHUB_CLIENT_SECRET=your_github_client_secret # Keep this secret! Never commit to version control
# Discord Integration (runtime config - keep private)
NUXT_DISCORD_USER_ID=your_discord_user_id # Private
# WakaTime Integration (for coding statistics - keep private)
NUXT_WAKATIME_USER_ID=your_wakatime_user_id # Private
NUXT_WAKATIME_CODING=your_coding_stats_api # Private
NUXT_WAKATIME_EDITORS=your_editors_stats_api # Private
NUXT_WAKATIME_LANGUAGES=your_languages_stats_api # Private
NUXT_WAKATIME_OS=your_os_stats_api # Private
# Status Page URL
NUXT_STATUS_PAGE=your_status_page_urlNote: Not all variables are required for basic development. The site will work without integrations, but some features may be disabled.
Security: Never commit your
.envfile or expose sensitive credentials likeSTUDIO_GITHUB_CLIENT_SECRET. Keep all API keys and secrets secure.
artsite/
βββ app/ # Application source code
β βββ assets/ # Static assets (CSS, images)
β βββ components/ # Vue components
β β βββ content/ # Content-specific components
β β βββ home/ # Home page components
β βββ composables/ # Vue composables
β βββ pages/ # Application pages (file-based routing)
β β βββ index.vue # Home page
β β βββ projects/ # Projects section
β β βββ hobbies.vue # Hobbies page
β β βββ uses.vue # Uses page
β β βββ ecosystem.vue # Ecosystem page
β βββ app.config.ts # App configuration
β βββ app.vue # Root app component
β βββ error.vue # Error page
βββ content/ # Content files (Markdown & JSON)
β βββ education/ # Education content
β β βββ bachelor.md # Bachelor's degree information
β β βββ m1.md # Master's 1st year information
β β βββ m2.md # Master's 2nd year information
β βββ experiences/ # Professional experience content
β β βββ artdanjproduction.md
β β βββ erisium.md
β β βββ hackathon-cnd.md
β β βββ picard.md
β β βββ sevetys.md
β βββ projects/ # Project portfolio content
β β βββ artchat.md
β β βββ arthome.md
β β βββ artlab.md
β β βββ artstudies.md
β β βββ bikes-glm.md
β β βββ breast-cancer.md
β β βββ dropout-reduces-underfitting.md
β β βββ loan-ml.md
β β βββ monte-carlo-project.md
β β βββ schelling-segregation-model.md
β β βββ sevetys.md
β βββ contact.json # Contact information data
β βββ hobbies.md # Hobbies page content
β βββ index.md # Home page content
β βββ languages.json # Programming languages data
β βββ skills.json # Skills and expertise data
β βββ uses.md # Tools and software used
βββ public/ # Public static files
βββ server/ # Server API routes and middleware
β βββ api/ # API endpoints
β βββ routes/ # Server routes
βββ types/ # TypeScript type definitions
βββ .env.example # Example environment variables
βββ content.config.ts # Content module configuration
βββ nuxt.config.ts # Nuxt configuration
βββ package.json # Dependencies and scripts
βββ tsconfig.json # TypeScript configuration
βββ wrangler.jsonc # Cloudflare Workers configuration
βββ README.md # Project documentation
- WakaTime - Track coding time and statistics
- Discord - Display real-time Discord status
- Nuxt Studio - Headless CMS for content management
- Nuxt i18n - Internationalization support
- NuxtHub - CI/CD and deployment platform
- Cloudflare D1 - Serverless SQL database
This project is configured to deploy on Cloudflare using NuxtHub.
-
Prerequisites
- Cloudflare account
- Wrangler CLI configured (
wrangler login) - NuxtHub project created
-
Deploy
bun run deploy
This will:
- Generate Cloudflare types
- Build the application
- Deploy to Cloudflare Workers
The project is set up with NuxtHub for automatic deployments on push to the main branch.
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Make your changes
- Commit your changes
git commit -m 'Add some amazing feature' - Push to the branch
git push origin feature/amazing-feature
- Open a Pull Request
- Follow the existing code style (enforced by ESLint)
- Use TypeScript for type safety
- Write descriptive commit messages
- Test your changes locally before submitting
- Update documentation if needed
MIT Β© Arthur Danjou
- Website: arthurdanjou.fr
- GitHub: @ArthurDanjou
- LinkedIn: Arthur Danjou