Start the development server
Run the dev command
Start the Next.js development server with Turbopack:
Biovity uses Turbopack for fast refresh and optimized builds. The
--turbopack flag is configured in package.json.Wait for compilation
Wait for the initial compilation to complete. You should see output similar to:
Available routes
Once running, you can access these routes:Public pages
/- Home page (landing)/empresas- Companies page/nosotros- About us/trabajos- Public job board/salarios- Salary information
Authentication
/login- User and organization login/register- User and organization registration
Dashboard (requires authentication)
/dashboard/employee- Employee dashboard home/dashboard/employee/search- Job search/dashboard/employee/applications- Job applications/dashboard/employee/my-applications- User’s applications/dashboard/employee/saved- Saved jobs/dashboard/employee/messages- Messaging/dashboard/employee/calendar- Calendar integration/dashboard/employee/profile- User profile/dashboard/employee/metrics- User analytics/dashboard/admin- Admin dashboard
Development tools
While developing, you can use these commands:Code quality
Build for production
Code style enforcement
Biovity uses Biome for linting and formatting with strict rules:- Line width: 100 characters
- Semicolons: as needed
- Recommended rules enabled
- No unused variables (warning)
- No explicit
any(error)
Run
bun check before committing to ensure your code passes all quality checks.Hot reload
Turbopack provides fast refresh during development:- Save a file - Changes appear instantly in the browser
- Add a component - Auto-detected and compiled
- Fix errors - Error overlay shows detailed information
Accessing the API
Better Auth API routes are available at:app/api/auth/[...all]/route.ts.
Troubleshooting
Port already in use
If port 3000 is already in use, specify a different port:Database connection errors
- Verify PostgreSQL is running
- Check
DATABASE_URLin.env.local - Ensure database exists and is accessible
Authentication errors
- Verify
BETTER_AUTH_SECRETis set in.env.local - Check
BETTER_AUTH_URLmatches your local URL - Ensure database migrations have run
Module not found errors
-
Clear cache and reinstall dependencies:
Development workflow
- Start dev server -
bun dev - Make changes - Edit files in
app/,components/, orlib/ - Check browser - Changes appear automatically
- Run quality checks -
bun checkandbun typecheck - Commit changes - Follow commit conventions
Next steps
Now that you have Biovity running locally:- Explore the project structure
- Learn about authentication
- Read development guidelines
- Check out component patterns