Skip to content

Build a simple email client with the ability to manage email messages, categorize them using tags, and track read/unread status.

Notifications You must be signed in to change notification settings

hugocruzlfc/kabilio-challenge-assignment

Repository files navigation

Welcome to Project!

Getting Started

Clone the repository and paste the following into a console to create the .env:

 touch .env && echo "DATABASE_URL=postgresql://postgres:postgres@localhost:5433/emailmanager_db?schema=public" > .env

Make sure you have docker installed and start the database:

docker compose up -d

Install dependencies:

npm install

Development

Run the dev server:

npm run dev

Understanding the project

This project is a simple email manager. It has a list of emails and you can add simulating a user and delete and update status if you are an admin.

The project has 3 main routes.

“/” the landing page to create the emails, simulating that it is a random user who enters the app.

“/admin-dashboard” for the core of the app where the administrator reviews the available emails. He has the possibility to filter them, paginate them and see their details.

“/email-details” where the administrator can read the emails.

Workflow

Create a few emails, preferably more than 9 if you want to play with pagination.

Then, navigate to the “/admin-dashboard” address and work as administrator.

About

Build a simple email client with the ability to manage email messages, categorize them using tags, and track read/unread status.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published