Crypto Manager is a comprehensive application designed to manage cryptocurrency portfolios. The backend is implemented using Go to handle API calls and store data into a database, while the frontend and user interactions are managed with Laravel and TypeScript.
- Fetches real-time cryptocurrency data from various APIs using Go.
- Stores cryptocurrency data into a database.
- Users can add cryptocurrencies to their portfolio.
- Displays the user's cryptocurrency portfolio on the user screen.
- Go: Handles API calls to fetch cryptocurrency data.
- Laravel: Manages the application logic and interactions.
- TypeScript: Ensures type safety and handles client-side logic.
- SQLite: Database to store cryptocurrency and user data.
id
(integer, primary key)rank
(integer)name
(string)symbol
(string)icon
(string)price
(float)change24h
(float)market_cap
(float)total_volume
(float)ath
(float)chart_data
(text)created_at
(timestamp)updated_at
(timestamp)
id
(integer, primary key)user_id
(integer, foreign key references users(id))coin_id
(integer, foreign key references coins(id))created_at
(timestamp)updated_at
(timestamp)
- Go 1.16+
- PHP 7.4+
- Composer
- Node.js 14+
- SQLite
-
Clone the repository:
git clone https://github.com/pansani/crypto-laravel.git cd crypto-laravel
-
Navigate to the Go directory:
cd api-go
-
Install dependencies:
go mod tidy
-
Run the Go application:
go run main.go
-
Navigate to the root directory:
cd ..
-
Install PHP dependencies:
composer install
-
Install JavaScript dependencies:
npm install
-
Run the database migrations:
php artisan migrate
-
Start the Laravel development server:
php artisan serve
-
Start the frontend development server:
npm run dev