Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg%20%22Optional%20title%22?q=api&page=124&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 13702 results for "api"(1012ms)

funappREADME.md5 matches

@fufunahimanaUpdated 5 days ago
1# Jobrapido Frontend
2
3Vue.js frontend for the Jobrapido job platform.
4
5## Components
13## Integration with Backend
14
15The frontend communicates with the Django backend through REST API endpoints:
16
17- Authentication: `/api/login/`, `/api/register/`, etc.
18- Profile management: `/api/profile/`, `/api/upload-documents/`
19
20## Development

funappRegisterForm.vue2 matches

@fufunahimanaUpdated 5 days ago
80
81 try {
82 const res = await fetch('http://localhost:8000/api/register/', {
83 method: 'POST',
84 headers: { 'Content-Type': 'application/json' },
109
110 try {
111 const res = await fetch('http://localhost:8000/api/send-verification-code/', {
112 method: 'POST',
113 headers: { 'Content-Type': 'application/json' },

funappLoginForm.vue2 matches

@fufunahimanaUpdated 5 days ago
1<template>
2 <div class="container mt-5 text-center">
3 <h2 class="mb-4">Login to Jobrapido</h2>
4 <form @submit.prevent="handleLogin" class="text-start">
5 <div class="mb-3">
38 async handleLogin() {
39 try {
40 const response = await fetch('http://localhost:8000/api/login/', {
41 method: 'POST',
42 headers: { 'Content-Type': 'application/json' },

funappREADME.md17 matches

@fufunahimanaUpdated 5 days ago
1# Jobrapido Backend
2
3Django backend for the Jobrapido job platform.
4
5## Setup
214. Run migrations:
22 ```
23 python manage.py makemigrations api
24 python manage.py migrate
25 ```
37## Project Structure
38
39- `jobrapido/` - Django project settings
40- `api/` - Main Django app
41 - `models.py` - Database models
42 - `views.py` - API and template views
43 - `serializers.py` - REST API serializers
44 - `urls.py` - URL routing
45- `templates/` - Django HTML templates
54- `VerificationCode` - Email verification codes
55
56## API Endpoints
57
58### Authentication
59- `POST /api/login/` - User login
60- `POST /api/logout/` - User logout
61- `POST /api/register/` - User registration
62- `POST /api/send-verification-code/` - Send verification code for registration
63- `POST /api/forgot-password/` - Request password reset
64- `POST /api/reset-password/` - Reset password with verification code
65
66### Profile
67- `GET /api/profile/` - Get user profile
68- `PUT /api/profile/` - Update user profile
69- `POST /api/upload-documents/` - Upload user documents
70
71## Template Pages

funappREADME.md13 matches

@fufunahimanaUpdated 5 days ago
1# Jobrapido - Job Platform
2
3A job platform connecting job seekers and employers in Burundi and beyond.
8
9- **Frontend**: Vue.js application
10- **Backend**: Django REST API with Django templates
11
12## Backend Setup
335. Run migrations:
34 ```
35 python manage.py makemigrations api
36 python manage.py migrate
37 ```
72- Different user roles (job seeker, worker seeker, partner)
73
74## API Endpoints
75
76### Authentication
77- `POST /api/login/` - User login
78- `POST /api/logout/` - User logout
79- `POST /api/register/` - User registration
80- `POST /api/send-verification-code/` - Send verification code for registration
81- `POST /api/forgot-password/` - Request password reset
82- `POST /api/reset-password/` - Reset password with verification code
83
84### Profile
85- `GET /api/profile/` - Get user profile
86- `PUT /api/profile/` - Update user profile
87- `POST /api/upload-documents/` - Upload user documents
88
89## Template Pages

funappurls.py2 matches

@fufunahimanaUpdated 5 days ago
1"""
2URL configuration for jobrapido project.
3"""
4from django.contrib import admin
10urlpatterns = [
11 path('admin/', admin.site.urls),
12 path('', include('api.urls')), # Include API URLs at the root
13]
14

funappurls.py10 matches

@fufunahimanaUpdated 5 days ago
11 path('complete-profile/', views.CompleteProfileTemplateView.as_view(), name='complete-profile'),
12
13 # API endpoints
14 path('api/login/', views.LoginView.as_view(), name='login'),
15 path('api/logout/', views.LogoutView.as_view(), name='logout'),
16 path('api/register/', views.RegisterView.as_view(), name='register'),
17 path('api/send-verification-code/', views.SendVerificationCodeView.as_view(), name='send-verification-code'),
18 path('api/forgot-password/', views.ForgotPasswordView.as_view(), name='forgot-password'),
19 path('api/reset-password/', views.ResetPasswordView.as_view(), name='reset-password'),
20
21 # Profile API endpoints
22 path('api/profile/', views.UserProfileView.as_view(), name='api-profile'),
23 path('api/upload-documents/', views.DocumentUploadView.as_view(), name='upload-documents'),
24]

funappviews.py18 matches

@fufunahimanaUpdated 5 days ago
8from django.utils.decorators import method_decorator
9from rest_framework import status, generics, permissions
10from rest_framework.views import APIView
11from rest_framework.response import Response
12from rest_framework.decorators import api_view, permission_classes
13from rest_framework.permissions import IsAuthenticated, AllowAny
14from .models import UserProfile, VerificationCode, Document, Education
137
138
139class LoginView(APIView):
140 """API view for user login"""
141 permission_classes = [AllowAny]
142
178
179
180class LogoutView(APIView):
181 """API view for user logout"""
182 permission_classes = [IsAuthenticated]
183
188
189
190class SendVerificationCodeView(APIView):
191 """API view to send verification code for registration"""
192 permission_classes = [AllowAny]
193
219
220
221class RegisterView(APIView):
222 """API view for user registration"""
223 permission_classes = [AllowAny]
224
234
235
236class ForgotPasswordView(APIView):
237 """API view for password reset"""
238 permission_classes = [AllowAny]
239
274
275
276class ResetPasswordView(APIView):
277 """API view to reset password with verification code"""
278 permission_classes = [AllowAny]
279
318
319
320class UserProfileView(APIView):
321 """API view for user profile management"""
322 permission_classes = [IsAuthenticated]
323
339
340
341class DocumentUploadView(APIView):
342 """API view for document uploads"""
343 permission_classes = [IsAuthenticated]
344

funappprofile.html1 match

@fufunahimanaUpdated 5 days ago
1{% extends 'base.html' %}
2
3{% block title %}Jobrapido - Your Profile{% endblock %}
4
5{% block content %}

funappcomplete_profile.html1 match

@fufunahimanaUpdated 5 days ago
1{% extends 'base.html' %}
2
3{% block title %}Jobrapido - Complete Your Profile{% endblock %}
4
5{% block content %}

groq-api2 file matches

@cameronpakUpdated 1 hour ago

create-val-api-demo1 file match

@shouserUpdated 17 hours ago
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com