/demail

Demail is an email application that allows you to send and receive messages.

Primary LanguageJava

demail

Demail is a simple email application with features for composing, sending, viewing, and organizing messages into folders. It includes functions like reply, reply all, and viewing single messages.

Project Preview

Untitled.video.-.Made.with.Clipchamp.mp4

Functional Requirement

  • Compose message
  • Send message
  • View my messages
  • Folder/Label like
    • Inbox
    • Send
    • User Folder
  • Reply and reply all
  • View single message

Non Functional Requirement

  • Authentication and Authorization
  • High availability
  • High Scalability

Built With

Installation

  1. Clone the repo

    git clone https://github.com/hassanrefaat9/demail
  2. Add Maven Dependency

         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-cassandra</artifactId>
         </dependency>
    
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-security</artifactId>
         </dependency>
    
         <dependency>
             <groupId>org.thymeleaf.extras</groupId>
             <artifactId>thymeleaf-extras-springsecurity5</artifactId>
         </dependency>
    
  3. Make Account on Astra DB and create demail database

  4. Enter your App Config in application.yml

     spring:
       security:
        oauth2:
          client:
            registration:
              github:
                client-id: your-id
                client-secret: your-secret
    
       data:
         cassandra:
             keyspace-name: your-key-space-name
             username: your-username
             password: password
             schema-action: recreate_drop_unused
             request:
               timeout: 10s
             connection:
             connect-timeout: 10s
             init-query-timeout: 10s
    
     astra.db:
         id: database-id
         region: 
         keyspace: your-key-space
         application.token: your-token
     
     datastax.astra:
         secure-connect-bundle: your-secure-connect.zip