This is a .NET-based Stock Market Application that fetches real-time stock data from the Finnhub API and implements core .NET features.
- Entity Framework Core for database management
- Dependency Injection for service management
- Authentication & Authorization using ASP.NET Identity
- Logging with Serilog
- MVC Views for the frontend
- Clone the repository
git clone https://github.com/your-username/stocks-app-dotnet.git cd stocks-app-dotnet - Set up the database
- Update
appsettings.jsonwith your database connection string. - Run migrations:
dotnet ef database update
- Update
- Set up API key
- Register at Finnhub.io to get an API key.
- Add it to
appsettings.json:"FinnhubSettings": { "ApiKey": "your_api_key_here" }
- Run the application
dotnet run
- Backend: ASP.NET Core
- Frontend: Razor Views
- Database: SQL Server
- Authentication: Identity
- Logging: Serilog