codescalersinternships / home

home repo for internships
1 stars 0 forks source link

Secret note (API/SPA)- Template #152

Open xmonader opened 4 days ago

xmonader commented 4 days ago

Secret Note Sharing Application

Create a web application that allows users to securely share self-destructing secret notes.

Requirements:

  1. Note Creation:

    • Users can create a note with text content
    • Generate a unique, secure URL for each note
    • Set an expiration time or number of views before destruction
  2. Note Retrieval:

    • Users can view a note using the unique URL
    • After viewing or upon expiration, the note is permanently deleted
  3. Security Features:

    • Use secure random generation for URLs (i should be able to browse /note/1, /note/2, .. etc the urls shouldn't be predictable
  4. Backend:

    • Swagger docs for the API
    • Develop a restful API using Go
    • Use a database (e.g., sqlite or postgresql) for storing the notes
  5. Frontend:

    • Create a simple, responsive UI using Vue
  6. Authentication:

    • Implement rate limiting to prevent abuse
  7. Testing:

    • Write unit and integration tests for the backend
    • Postman collections for testing
    • Implement end-to-end tests for critical user flows
  8. Deployment:

    • Containerize the application using Docker
    • Create a docker-compose file for easy local deployment

Optional

Acceptance Criteria: