TradeSphere is an investment and stock tracking platform that enables users to monitor real-time stock prices, manage their investment portfolios, and stay updated with market trends. Developed using the MERN stack (MongoDB, Express.js, React, and Node.js), TradeSphere provides a comprehensive experience for both beginner and experienced investors.
- Features
- Tech Stack
- Getting Started
- Environment Variables
- Usage
- API Endpoints
- Contributing
- License
- Contact
- Real-time Stock Data: Fetch live stock prices and historical data from third-party APIs.
- Portfolio Management: Users can create, update, and manage their stock portfolios.
- Watchlist: Add favorite stocks to a watchlist for easy tracking.
- User Authentication: Secure login and registration with JWT authentication.
- Responsive Design: Optimized for all screen sizes and devices.
- Market Analysis: Detailed stock charts and analysis for informed investment decisions.
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB (NoSQL database)
- APIs: Stock Market API (e.g., Alpha Vantage, IEX Cloud)
- Authentication: JSON Web Tokens (JWT)
- Deployment: Hosted on AWS, Heroku, or DigitalOcean
Ensure that you have the following software installed:
You will also need an API key from a stock data provider such as Alpha Vantage or IEX Cloud.
-
Clone the repository:
git clone https://github.com/syedtasavour/tradesphere.git cd tradesphere
-
Install the necessary dependencies:
# Install server dependencies npm install # Install client dependencies cd client npm install
-
Set up the environment variables in a
.env
file.
In the root of the project, create a .env
file and add the following variables:
# MongoDB
MONGO_URI=your_mongodb_connection_string
# JWT Secret Key
JWT_SECRET=your_secret_key
# Server Port
PORT=5000
After setting up the environment variables, you can run the project locally.
-
Start the backend server:
npm run server
-
Start the frontend React app:
cd client npm start
-
Open your browser and navigate to
http://localhost:3000
to use TradeSphere.
Contributions are welcome! To contribute to TradeSphere, follow these steps:
- Fork the repository.
- Create a new feature branch:
git checkout -b feature-name
- Make your changes and commit:
git commit -m 'Add new feature or fix'
- Push the changes to your fork:
git push origin feature-name
- Submit a pull request with a description of your changes.
This project is licensed under the MIT License. See the LICENSE
file for details.
For any questions or suggestions, feel free to reach out:
- Email: [email protected]
- LinkedIn: linkedin.com/in/syedtasavour
Feel free to contribute by forking the repository and submitting pull requests!