This repository contains a Full Stack .NET application developed as a challenge to create a lead management user interface for a fictional company. The application is structured as a Single Page Application (SPA) using React for the frontend, and .NET Core 6 for the backend with a SQL Server database.
Displays all leads in the 'new' status. Each lead is represented as a card, as demonstrated in the screenshot below (right). The original example screenshot from the challenge's instructions is also provided (left).
| Provided example | Developed UI |
|---|---|
![]() |
![]() |
Along with the lead's information, each card also contains the following buttons:
- Accept: Updates the lead status to 'accepted' and applies a 10% discount if the price is over $500. Sends a notification email (simulated by a .txt file);
- Decline: Updates the lead status to 'declined'.
Displays all leads in the 'accepted' status. Each lead is represented as a card with additional contact information.
| Provided example | Developed UI |
|---|---|
![]() |
![]() |
- .NET 6 SDK;
- Node.js (for React app);
- SQL Server.
-
Clone the repository:
git clone https://github.com/bpsoraggi/DesafioLeads.git
-
Set up the database:
- Create a SQL Server database;
- Populate the database;
- Update the connection string in
LeadsFullStack.API/appsettings.json.
-
Run the API:
dotnet restore dotnet run
-
Run the React app:
cd ../LeadsFullStack.Client npm install npm start



