CodeComradesCodeComrades / PRM

GNU Affero General Public License v3.0
3 stars 2 forks source link

Add onboarding page for first start #15

Closed FReichelt closed 3 months ago

FReichelt commented 3 months ago

!!!Breaking Changes!!! -Added a username field and redefined the name field to store the full name, not just the username. -Note the lack of migration for swapping fields, which may impact existing data relationships.

  1. Mount OpenAPI and Auto-Compile SDK in Docker -Mount the OpenAPI folder in the Docker development environment. -Automatically compile the Oazapfts SDK upon running the Docker environment.
  2. Web Configuration Enhancements -Add ESLint configuration to enhance code quality and consistency. -Integrate Tailwind CSS for streamlined UI development.
  3. Authentication and Configuration Utilities -Add utility modules for authentication and configuration management. -Implement Svelte stores for state management across the application.
  4. User Experience and Flow Improvements -Enable automatic redirection from the onboarding/registration page to the main page once the server setup is complete. -Develop the registration page for creating the first admin account. -Set up an onboarding webpage that leads to the admin registration, paving the way for additional onboarding steps.
  5. UI Components and Styles -Introduce a neon button component for enhanced UI interactions. -Add custom CSS classes for form labels and input fields for consistent form styling.
  6. API and Routing Enhancements -Implement getMe, getConfig, and createFirstAdmin routes to facilitate user and admin onboarding processes. -Replace default fetch method with event.fetch from @prm/sdk for optimized data fetching. 7.Validation and Security Features -Add decorators for email, username, and UUID validation to ensure data integrity. -Remove the public user creation route to enhance security.