There are react frontend application with express backend application.
Express backend application relies on ProspectAI API and designed to verify emails. Backend provides two endpoints:
- GET
/email-verifications
- returns an email verification history. - POST
/email-verifications
- sends new email to ProspectAI API.
All email verifications results stores to database available in docker stack. The database schema consist of 2 tables: email and email_verification.
React frontend application allows customer:
Application infrastructure is launching with docker-compose.yml: docker-compose up -d
.
Postman Collection is available in ./postman
- Copy
.env.example
>.env
- Fill
PROSPECT_API_KEY
,PROSPECT_BASE_URL
with given values. - Run
docker-compose up -d
- Fill result saving class with necessary fields on
POST:/email-verification
. - Implement server side validation for requested email on
POST:/email-verification
. - Implement bulk processing on
POST:/email-verification
. - Implement server side pagination on
GET:/email-verification
- Advanced: implement async processing on
POST:/email-verification
(ideas: queue, db & cron script, redis)