An open API service indexing awesome lists of open source software.

https://github.com/sbrunomello/simdex-web

interface of cryptocurrency exchange simulator platform.
https://github.com/sbrunomello/simdex-web

angular authentication cryptocurrency exchange frontend integration interface nodejs opensource plataform simulator typescript

Last synced: 2 months ago
JSON representation

interface of cryptocurrency exchange simulator platform.

Awesome Lists containing this project

README

          

# Simdex Web โ€“ Angular UI for Simulated DEX Platform

**Simdex Web** is the frontend application for the [Simdex](https://github.com/sbrunomello/simdex) platform โ€“ a simulation of a decentralized cryptocurrency exchange. Built with Angular, it offers a responsive dashboard where users can register, log in, view real-time prices, and interact with coin data in a realistic exchange layout.

---

## ๐ŸŒ Live Features

- ๐Ÿงพ **Login and Registration** (connected to Spring Boot backend)
- ๐Ÿ“ˆ **Coin Price Tracker** with live data
- ๐Ÿช™ **Coin Table** for top market pairs
- ๐Ÿ”„ Modular UI structure with dashboard, sidebar, and components
- ๐Ÿงช Designed for realistic crypto UI simulation

---

## ๐Ÿ›  Technologies Used

- Angular `^16`
- TypeScript
- SCSS / CSS
- RxJS (reactive state)
- Angular Routing
- Capacitor-ready (for mobile builds)
- RESTful communication with backend API

---

## ๐Ÿงฉ Project Structure Highlights

```
/src/app
โ”‚
โ”œโ”€โ”€ core/services
โ”‚ โ”œโ”€โ”€ auth.service.ts โ†’ Login/registration logic
โ”‚ โ””โ”€โ”€ coin.service.ts โ†’ Fetches coin price data
โ”‚
โ”œโ”€โ”€ modules/dashboard
โ”‚ โ”œโ”€โ”€ dashboard.component.ts
โ”‚ โ””โ”€โ”€ sidebar/ โ†’ App navigation
โ”‚
โ”œโ”€โ”€ shared/components
โ”‚ โ”œโ”€โ”€ coin-price/ โ†’ Displays price from API
โ”‚ โ”œโ”€โ”€ coin-table/ โ†’ Lists crypto pairs
โ”‚ โ”œโ”€โ”€ login/ โ†’ Login form
โ”‚ โ”œโ”€โ”€ register/ โ†’ Registration form
โ”‚ โ”œโ”€โ”€ navbar/ โ†’ Top navigation
โ”‚ โ”œโ”€โ”€ footer/ โ†’ Footer content
โ”‚
โ”œโ”€โ”€ directives/
โ”‚ โ””โ”€โ”€ outside-click.directive.ts โ†’ Detects external click (e.g. dropdown)
```

> Components follow modular and testable Angular best practices.

---

## โ–ถ๏ธ How to Run Locally

### Prerequisites

- Node.js (v18+ recommended)
- Angular CLI (`npm install -g @angular/cli`)
- Backend API running ([Simdex Backend](https://github.com/sbrunomello/simdex))

### Steps

```bash
git clone https://github.com/sbrunomello/simdex-web.git
cd simdex-web
npm install
ng serve
```

Access the app at:
`http://localhost:4200`

---

## ๐Ÿ’ก API Integration

All data is fetched from the Spring Boot backend running at `http://localhost:8080`. It includes:

- `POST /auth/register`
- `POST /auth/login`
- `GET /api/v2/price` โ†’ Real-time BTC price (via CMC)

---

## ๐Ÿงช Development Notes

- Supports component unit testing with Karma + Jasmine
- Includes styles split per component (CSS or SCSS)
- Easy to extend with lazy-loaded modules

---

## ๐Ÿš€ Future Roadmap

- [ ] Wallet simulation with fake balance
- [ ] Token buy/sell interaction (demo only)
- [ ] Visual charts with TradingView or Chart.js
- [ ] Internationalization (i18n)
- [ ] PWA support and mobile build via Capacitor

---

## ๐Ÿ“ฌ Contact

- [GitHub](https://github.com/sbrunomello)
Developed with by Mello