ETrade is an intuitive and robust cryptocurrency trading platform designed to cater to both beginners and seasoned traders in the digital currency space. Users can effortlessly buy, sell, and manage their cryptocurrency portfolio with real-time market data and user-friendly tools. The platform supports a broad range of cryptocurrencies, enabling users to diversify their investments and capitalize on market trends. Key features include instant buy and sell options, secure withdrawals, and the ability to create personalized watchlists to monitor favorite cryptocurrencies. Integrated with secure payment gateways like Razorpay and Stripe. It is also powered by reliable API connections to market leaders like Coingecko and Gemini, ETrade ensures that your trading experience is safe, swift, and efficient. Whether you're looking to execute quick trades or track the performance of various crypto assets, ETrade provides all the necessary tools to navigate the crypto market with confidence.
This section provides instructions on how to set up and run the Trading Application, including backend configuration and frontend setup.
Create a MySQL database named "etrades":
CREATE DATABASE etrades;
Update the MySQL password in the application configuration file (e.g., application.properties
or application.yml
):
spring.datasource.password=your_mysql_password_here
Update the email configuration in the application properties:
spring.mail.username=your_email@gmail.com
spring.mail.password=your_app_password_here
Note: If you don't have an app password, create one by searching on YouTube for "how to create app password for gmail".
Set your Stripe API key in the application properties:
stripe.api.key=your_stripe_api_key_here
Configure Razorpay API key and secret in the application properties:
razorpay.api.key=your_razorpay_api_key_here
razorpay.api.secret=your_razorpay_api_secret_here
Set your CoinGecko API key in the application properties:
coingecko.api.key=your_coingecko_api_key_here
Configure your Gemini API key in the application properties:
gemini.api.key=your_gemini_api_key_here
- Open the backend project in IntelliJ IDEA.
- Make sure all dependencies are properly loaded (you may need to refresh the Maven project).
- Locate the main application class (usually annotated with
@SpringBootApplication
). - Right-click on the main class and select "Run [SpringBootApplication]".
- The backend should now start, and you should see log output in the IntelliJ console.
Open the frontend folder in Visual Studio Code. Navigate to the frontend directory and install the required dependencies:
npm i
Start the frontend development server:
npm run dev
- Ensure all backend configurations are set up correctly.
- Start your backend server.
- In the frontend directory, run
npm run dev
to start the frontend application.