Initialize Vyryi front-end project with React, Vite, and TypeScript. Add essential files including configuration, environment variables, and basic structure. Implement authentication, routing, and API interaction for a Telegram Mini App UI. Include README and styling for a cohesive user experience.
This commit is contained in:
32
README.md
Normal file
32
README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Vyryi Front
|
||||
|
||||
React (Vite + TypeScript) Telegram Mini App UI for **Vyryi**.
|
||||
|
||||
## Stack
|
||||
|
||||
- React 19 + React Router
|
||||
- Local auth via backend `POST /auth/dev-login`
|
||||
- Dark folk visual style matching the project logo
|
||||
|
||||
## Screens
|
||||
|
||||
1. `/` — logo + user agreement gate
|
||||
2. `/home` — balance, stub deposit, slot stubs
|
||||
3. `/games/:slug` — game placeholder
|
||||
|
||||
## Quick start
|
||||
|
||||
```bash
|
||||
cd vyryi-front
|
||||
npm install
|
||||
copy .env.example .env
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Open http://127.0.0.1:5173 — backend must be running on port 8000.
|
||||
|
||||
## Env
|
||||
|
||||
```
|
||||
VITE_API_URL=http://127.0.0.1:8000
|
||||
```
|
||||
Reference in New Issue
Block a user