Skip to content

NLFTs/developer_program_member

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

48 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NLFTs Developer Program

A modern, static website for the NLFTs Developer Program built with Nuxt 3

πŸš€ Features

  • βœ… Static website with Nuxt Content
  • βœ… Blog posts from markdown files
  • βœ… Documentation pages
  • βœ… Product showcase
  • βœ… Events listing
  • βœ… GitHub OAuth login (no database)
  • βœ… Responsive design with Nuxt UI
  • βœ… Dark mode support
  • βœ… SEO optimized

πŸ“¦ Tech Stack

  • Framework: Nuxt 3
  • UI Library: Nuxt UI
  • Content: Nuxt Content
  • Styling: Tailwind CSS
  • Animations: GSAP
  • Icons: Iconify
  • Authentication: GitHub OAuth (localStorage)

πŸ› οΈ Setup

Prerequisites

  • Node.js 20+
  • pnpm (recommended)

Installation

  1. Clone the repository:
git clone https://github.com/your-org/developer-program.git
cd developer-program
  1. Install dependencies:
pnpm install
  1. Setup environment variables:
cp .env.example .env
  1. Configure GitHub OAuth:

  2. Run development server:

pnpm dev

Visit http://localhost:3000

πŸ“ Environment Variables

# GitHub Personal Access Token (for API calls)
GITHUB_TOKEN=your_github_personal_access_token

# Site URL
NUXT_PUBLIC_SITE_URL=https://nlfts.dev

# GitHub OAuth Configuration
GITHUB_CLIENT_ID=your_github_oauth_app_client_id
GITHUB_CLIENT_SECRET=your_github_oauth_app_client_secret
NUXT_PUBLIC_GITHUB_CLIENT_ID=your_github_oauth_app_client_id

πŸ—οΈ Build

# Build for production
pnpm build

# Preview production build
pnpm preview

πŸ“š Documentation

🎨 Project Structure

.
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ assets/          # CSS and static assets
β”‚   β”œβ”€β”€ components/      # Vue components
β”‚   β”œβ”€β”€ composables/     # Vue composables
β”‚   β”œβ”€β”€ layouts/         # Layout components
β”‚   β”œβ”€β”€ pages/           # Page components (routes)
β”‚   β”œβ”€β”€ plugins/         # Nuxt plugins
β”‚   └── utils/           # Utility functions
β”œβ”€β”€ content/             # Markdown content
β”‚   β”œβ”€β”€ blog/            # Blog posts
β”‚   β”œβ”€β”€ docs/            # Documentation
β”‚   └── product/         # Product pages
β”œβ”€β”€ public/              # Static files
β”œβ”€β”€ server/              # Server API routes
β”‚   └── api/
β”‚       └── auth/        # Authentication endpoints
└── nuxt.config.ts       # Nuxt configuration

πŸ” Authentication

This website uses a simple GitHub OAuth authentication system:

  • User data is stored in localStorage (client-side only)
  • No database backend
  • No persistent storage
  • Users must login again after clearing browser data

Login Flow

  1. User clicks "Login" button
  2. Redirected to GitHub OAuth
  3. After authorization, redirected back to /confirm
  4. User data fetched from GitHub API
  5. Data stored in localStorage
  6. User is logged in

πŸš€ Deployment

Vercel

vercel

Add environment variables in Vercel dashboard.

Netlify

netlify deploy

Add environment variables in Netlify dashboard.

Other Platforms

Build the project and deploy the .output directory.

πŸ“„ License

MIT License - see LICENSE for details

🀝 Contributing

Contributions are welcome! Please read our Code of Conduct first.

πŸ“ž Support

For support, email support@nlfts.dev or join our Discord community.


Made with ❀️ by the NLFTs Team

About

present yourself for DX to all Developers

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Generated from nuxt-ui-templates/saas