This repository has been archived on 2025-08-19. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
coinstorge/website
MD1125 f542df17ab Documentation & Formatting Changes
Co-Authored-By: svedev <28451791+svedev0@users.noreply.github.com>
2025-06-23 16:22:32 +02:00
..
drizzle feat: prestige system 2025-06-14 21:51:26 +06:00
src Documentation & Formatting Changes 2025-06-23 16:22:32 +02:00
static feat: user manual 2025-06-10 20:00:31 +03:00
websocket Documentation & Formatting Changes 2025-06-23 16:22:32 +02:00
.env.example Documentation & Formatting Changes 2025-06-23 16:22:32 +02:00
.gitignore init 2025-05-21 21:34:22 +03:00
.npmrc init 2025-05-21 21:34:22 +03:00
.postcssrc.json init 2025-05-21 21:34:22 +03:00
.prettierignore init 2025-05-21 21:34:22 +03:00
.prettierrc init 2025-05-21 21:34:22 +03:00
bun.lock feat: prestige system 2025-06-14 21:51:26 +06:00
components.json feat: add Top Holders 2025-06-10 18:42:41 +03:00
drizzle.config.ts init 2025-05-21 21:34:22 +03:00
package-lock.json Documentation & Formatting Changes 2025-06-23 16:22:32 +02:00
package.json Documentation & Formatting Changes 2025-06-23 16:22:32 +02:00
postcss.config.js init 2025-05-21 21:34:22 +03:00
README.md Documentation & Formatting Changes 2025-06-23 16:22:32 +02:00
svelte.config.js use adapter node 2025-05-30 14:58:57 +03:00
tailwind.config.ts init 2025-05-21 21:34:22 +03:00
tsconfig.json init 2025-05-21 21:34:22 +03:00
vite.config.ts init 2025-05-21 21:34:22 +03:00

Rugplay Website

This is the main website component of Rugplay, built with SvelteKit. It handles the user interface, trading functionality, and market visualization.

Development

Prerequisites

  • Node.js (LTS version)
  • Redis running in the background
  • OpenRouter API key (for AI features)
  • AWS S3/B2 Storage (for file uploads)

Environment Variables

Create a .env file based on .env.example:

cp .env.example .env

Key variables to configure:

  • PUBLIC_BETTER_AUTH_URL: Set to http://localhost:3002 if you want to deploy
  • OPENROUTER_API_KEY: Your OpenRouter API key for AI features
  • AWS credentials (optional but recommended)

Running in Development

npm install
npm run dev

The development server will be available at http://localhost:5173

Building for Production

npm run build
npm run preview

Project Structure

  • src/routes/: Page components and API endpoints
  • src/lib/: Shared components and utilities
  • src/lib/components/: Reusable UI components
  • static/: Static assets (images, fonts, etc.)

Features

  • User authentication and profile management
  • Real-time trading interface
  • Market visualization with Treemap
  • Leaderboards and statistics
  • Integration with websocket server for live updates

Contributing

  1. Make sure Redis is running
  2. Start the websocket server (see websocket/README.md)
  3. Run the website in development mode
  4. Make your changes
  5. Test thoroughly
  6. Submit a pull request