The Ultimate Hub for Sharing and Discovering Developer Codes
DevYork is a modern, community-driven platform where developers can share their code snippets, discover ready-made systems, and elevate their development workflow. From simple scripts to complex diamond-tier modules, DevYork organizes it all! β¨
Ever struggled with:
- ποΈ Losing useful code snippets in random folders?
- π€·ββοΈ Searching for hours for a working discord.js command or a python script?
- π Finding codes that are outdated or full of bugs?
- π€ Wanting to share your work but lacking a proper platform?
DevYork solves this! It's a structured ecosystem that categories codes by quality and utility, ensures community moderation through bug reporting, and provides a sleek interface for seamlessly browsing and managing developer resources.
Note: Authentication is intentionally disabled in this public demo to allow reviewers to explore all features without friction.
- π Tiered Content System: Codes are categorized into Normal, Gold, and Diamond tiers based on complexity and value.
- ποΈ Ready Systems: Dedicated section for complete, plug-and-play systems (e.g., Auth systems, Ticket bots).
- π Discord Authentication: Secure login using Discord OAuth2 to verify identity and sync avatars.
- β Rating & Feedback: Community-driven quality control with 5-star rating systems.
- π¨ Modern UI/UX: A dark-themed, glassmorphic interface built with Tailwind CSS for maximum aesthetic appeal.
β οΈ Advanced Bug Reporting: Users can report broken codes with specific reasons. If a user previously reported a bug, the system prevents duplicates.- π« Automated Warnings: Codes with confirmed bug reports display a prominent warning banner to alert users.
- βοΈ Admin Dashboard: Comprehensive admin panel to manage users, approve/delete codes, and oversee platform activity.
- π Smart Filters: Filter codes by Language (JS, TS, Python, etc.), Module (discord.js, mongoose, etc.), Rating, and Bug Status.
- π Code Detail View: View source code with syntax highlighting (PrismJS), copy to clipboard, or download as ZIP.
- π± Responsive: Fully optimized for Desktop, Tablet, and Mobile.
- Framework: Nuxt 3 (Vue 3)
- Styling: Tailwind CSS
- Icons: FontAwesome & Custom SVG
- State: Pinia
- Editor: Monaco Editor / PrismJS integration
- Notifications: SweetAlert2 & Vue3-Toastify
- NestJS (Modular architecture)
- MongoDB + Mongoose
- Passport.js (Discord OAuth2)
- Express Sessions
- RESTful API design
DevYork was initially prototyped as a full Nuxt SSR application.
As the project evolved, the backend was fully separated into a standalone NestJS API to improve:
- Scalability
- Code maintainability
- Clear frontend / backend responsibility separation
- NestJS chosen for its modular architecture and long-term scalability
- REST API over GraphQL for simplicity and predictable data flow
- MongoDB + Mongoose for flexible schema design
- Session-based authentication for Discord OAuth2 integration
Authentication and authorization checks are intentionally relaxed in this public demo.
The goal is to allow reviewers and recruiters to:
- Explore all pages
- Review UI/UX and system flows
- Test core features without account setup
In a production environment, role-based access control and route guards are fully supported.
I was responsible for the entire development lifecycle of DevYork:
- UI/UX design and frontend implementation
- Backend architecture and API development
- Database schema design
- Discord OAuth2 authentication flow
- Admin dashboard & moderation tools
- Bug reporting and validation logic
- Deployment-ready environment configuration
This project reflects my ability to take a product from idea to a working platform.
- Node.js 18+
- Yarn (recommended) or npm
- MongoDB (Local or Atlas URL)
- Discord Developer Application (Client ID & Secret)
git clone https://github.com/alperr/devyork-website.git
cd devyork-websitecd backend
yarn installCreate a .env file in backend/ directory:
MONGO_URL=mongodb://localhost:27017/devyork
PORT=3001
SESSION_SECRET=super_secret_key_change_me
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DISCORD_CALLBACK_URL=http://localhost:3000/api/auth/callbackStart the server:
yarn start:devOpen a new terminal:
cd frontend
yarn installCreate a .env file in frontend/ (optional, defaults typically work):
BACKEND_URL=http://localhost:3001/apiStart the client:
yarn devVisit http://localhost:3000 π
- Login via Discord.
- Navigate to "Share Code".
- Fill in the Title, Description, and select the Rank/Category.
- Paste your code into the editor.
- Click Share!
If you find a broken code:
- Go to the Code Detail page.
- Click the Warning Icon (
β οΈ ) button. - Select the reason (e.g., "Not Working", "Spam").
- Provide details and submit.
- Note: If you've already reported it, the system will remind you!
- Access via
/dashboardif your user ID is authorized in the backend. - Manage Users: View all registered users, sort by join date.
- Manage Codes: Edit or Delete any code on the platform.
devyork/
βββ backend/ # NestJS API
β βββ src/
β β βββ auth/ # Authentication Logic
β β βββ codes/ # Codes CRUD & Logic
β β βββ schemas/ # MongoDB Schemas
β β βββ main.ts # Entry Point
βββ frontend/ # Nuxt 3 Client
β βββ components/ # Reusable Vue Components
β βββ pages/ # Route Views
β βββ public/ # Static Assets
β βββ nuxt.config.ts # Nuxt Configuration
βββ README.md # Documentation
- Ensure
DISCORD_CLIENT_IDandSECRETare correct. - Check if
http://localhost:3000/api/auth/callbackis added to your Discord Developer Portal redirects.
- Check if your local MongoDB service is running (
mongod). - Verify the
MONGO_URLin.env.
- Ensure
yarn devfinished compiling Tailwind CSS. - Try deleting
.nuxtfolder and restart.
We love contributions! Please see CONTRIBUTING.md for details.
- π΄ Fork it
- πΏ Create your feature branch (
git checkout -b feature/cool-feature) - πΎ Commit your changes (
git commit -m 'feat: Add cool feature') - π€ Push to the branch (
git push origin feature/cool-feature) - π Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Discord: Join our Community
- Website: devyork.com
Made with β€οΈ by Theark Happy Coding! π