Skip to content

bpsoraggi/DesafioLeads

Repository files navigation

C# .Net React MicrosoftSQLServer NodeJS NPM

Full Stack .NET Challenge

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.

Features

Invited Tab

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
Example Developed

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'.

(back to top)

Accepted Tab

Displays all leads in the 'accepted' status. Each lead is represented as a card with additional contact information.

Provided example Developed UI
Example Developed

(back to top)

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/bpsoraggi/DesafioLeads.git
  2. Set up the database:

    • Create a SQL Server database;
    • Populate the database;
    • Update the connection string in LeadsFullStack.API/appsettings.json.
  3. Run the API:

    dotnet restore
    dotnet run
  4. Run the React app:

    cd ../LeadsFullStack.Client
    npm install
    npm start

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published