Get Started in Three Steps
Follow this guide to clone, install, and run DevJobs locally on your machine.Clone the Repository
Clone the DevJobs repository from GitHub:This downloads the complete source code including all components, hooks, pages, and configuration files.
Install Dependencies
Install all required packages using your preferred package manager:This installs:
- React 19.2.0
- React Router DOM 7.9.6
- Vite 7.2.2
- Snarkdown 2.0.0
- Development dependencies (ESLint, Vite plugins, etc.)
Installation typically takes 1-2 minutes depending on your internet connection.
Verify Installation
Once the development server is running, verify everything works:1. Check the Homepage
1. Check the Homepage
Visit
http://localhost:5173 in your browser. You should see:- Hero section with “Encuentra el trabajo de tus sueños”
- Search input field
- Three feature cards explaining the benefits
2. Test Search Navigation
2. Test Search Navigation
3. Try Filtering
3. Try Filtering
On the search page:
- Select a technology from the dropdown (e.g., “JavaScript”)
- Select a location (e.g., “Remoto”)
- The URL updates and results filter automatically
- URL should look like:
/search?text=React&technology=javascript&type=remoto
4. View Job Details
4. View Job Details
- Click on any job card from the search results
- You should navigate to
/jobs/:jobId - See the full job description with markdown formatting
- Click technology tags to filter by that technology
What’s Next?
Now that DevJobs is running, explore the application and documentation:Architecture Overview
Understand the application structure, routing, and data flow patterns.
Component Library
Explore reusable UI components like JobCard, Pagination, and SearchForm.
Custom Hooks
Learn about the three custom hooks: useFilters, useRouter, and useSearchForm.
Contributing Guide
Learn how to add features, create components, and submit changes.
Common Tasks
- Add a Component
- Add a Page
- Modify Styles
- Build for Production
To create a new component:Add your component code and export it from See the Contributing Guide for details.
src/components/index.js:Development Workflow
Here’s a typical development workflow:Make Changes
Edit components, hooks, or pages in the
src/ directory. The browser automatically reloads.Available Scripts
DevJobs provides several npm scripts for development:| Script | Command | Description |
|---|---|---|
| dev | npm run dev | Start development server with HMR |
| build | npm run build | Create optimized production build |
| preview | npm run preview | Preview production build locally |
| lint | npm run lint | Run ESLint to check code quality |
Troubleshooting
Port 5173 already in use
Port 5173 already in use
Vite will automatically try the next available port (5174, 5175, etc.). Check the terminal output for the actual URL.To specify a custom port:
Module not found errors
Module not found errors
If you see module resolution errors:
- Delete node_modules and package-lock.json
- Clear npm cache:
npm cache clean --force - Reinstall:
npm install
Changes not reflecting
Changes not reflecting
If hot module replacement isn’t working:
- Check that your component exports are correct
- Restart the dev server
- Clear browser cache and refresh
API errors
API errors
DevJobs uses an external API at
https://jscamp-api.vercel.app/api/jobs. If you see API errors:- Check your internet connection
- Verify the API is accessible
- Check browser console for specific error messages
For detailed installation instructions including prerequisites and IDE setup, see the Installation Guide.
Need Help?
- Full Installation Guide: Installation Documentation
- Project Structure: Development Guide
- Architecture Details: Architecture Overview
- Source Code: GitHub Repository