Prerequisites
Before you begin, ensure you have the following installed:- Node.js 18 or higher
- npm (comes with Node.js)
- A Supabase account and project
- Git (for cloning the repository)
DoctorSoft+ requires Node.js 18 or higher. You can check your Node version by running
node --version in your terminal.Getting started
Install dependencies
Install all required npm packages:This will install all dependencies including React, TypeScript, Vite, Supabase client, and other required packages.
Configure environment variables
Create a You can find these values in your Supabase project dashboard under Settings > API.
.env file in the root directory and add your Supabase credentials:Start the development server
Launch the Vite development server:The application will be available at
http://localhost:5173Create your first user account
Open your browser and navigate to
http://localhost:5173. You’ll see the login page.- Click on “Registrarse” (Register) to create a new account
- Fill in the registration form with the following information:
- Full name (minimum 2 characters)
- Email address
- Password (must meet strength requirements)
- Confirm password
- Accept the terms and conditions
- Click “Crear Cuenta” (Create Account)
Password requirements:
- Minimum 8 characters
- At least one uppercase letter
- At least one lowercase letter
- At least one number
- At least one special character
Verify your email
After registration, check your email inbox for a verification email from Supabase. Click the verification link to activate your account.
What’s next?
Now that you have DoctorSoft+ running locally, you can:- Explore the medical practice management features
- Configure additional settings in the admin panel
- Set up your practice information and staff accounts
- Learn about deployment options for production
Troubleshooting
Supabase connection error
If you see a Supabase connection error, verify:- Your environment variables are set correctly in
.env - Your Supabase project is active
- Your internet connection is working
- The Supabase URL and Anon Key are valid
Email not confirmed error
If you see “Por favor confirme su correo electrónico antes de iniciar sesión”, check your email inbox and spam folder for the verification email from Supabase.Port already in use
If port 5173 is already in use, Vite will automatically try the next available port. Check the terminal output for the actual URL.Getting help
If you encounter any issues not covered in this guide:- Check the configuration guide for detailed environment setup
- Review the installation guide for system requirements
- Contact your system administrator for support