pingSubhajit / letraz

Create tailored resumes for every job application effortlessly with Letraz. Our AI-powered tool helps you stand out by automatically optimizing your resume for ATS and recruiters, ensuring your skills and experience match the job's requirements.
https://letraz.app
MIT License
0 stars 0 forks source link

core: DB model and CRUD functionality for projects #8

Open pingSubhajit opened 2 days ago

pingSubhajit commented 2 days ago

This issue focuses on setting up the database model and defining the CRUD operations (Create, Read, Update, Delete) for projects within the application.

Success Criteria:

Acceptance Criteria:

Additional Notes:

This implementation will lay the foundation for managing project data within the application, providing users with a robust system for creating, updating, and deleting their project entries.

linear[bot] commented 2 days ago
LET-18 core: DB model and CRUD functionality for projects

This issue focuses on setting up the database model and defining the CRUD operations (Create, Read, Update, Delete) for projects within the application. **Success Criteria:** * A database model for projects is defined, including the necessary fields to store project information. * CRUD operations for projects are implemented, allowing users to create, read, update, and delete their project entries. **Acceptance Criteria:** * **Database Model:** * **Project Name:** (required) Unique identifier for the project. * **Description:** (optional) A brief description of the project. * **Technologies:** (optional) Array of strings representing technologies used. * **Role:** (required) User's role in the project. * **Accomplishments:** (optional) Array of strings representing key achievements or contributions. * **Links:** (optional) Array of strings representing links to the project (e.g., GitHub repository, website). * **UserId:** (required) Foreign key referencing the user who owns the project. * **CRUD Operations:** * **Create:** Allows users to create new project entries, providing all required information and optionally including other fields. * **Read:** Retrieves a list of projects for a specific user. * **Update:** Allows users to modify existing project entries, updating any fields as needed. * **Delete:** Enables users to remove project entries from their profile. * **Data Validation:** * Validate user input to ensure data integrity and prevent invalid or malicious entries. * Error handling is implemented to handle invalid or missing data gracefully. * **Security:** * Implement appropriate security measures to protect project data from unauthorized access. * Ensure that users can only access and modify their own project entries. **Additional Notes:** * Implement appropriate authorization and authentication mechanisms to control user access to project data. * Document the database model and CRUD operations for future development and maintenance. This implementation will lay the foundation for managing project data within the application, providing users with a robust system for creating, updating, and deleting their project entries.