Welcome to the API documentation for the portfolio backend service. This page lists all available endpoints organized by resource.
Base URL: /api/v1/users
/api/v1/users/signup - Register a new user
/api/v1/users/login - Login with credentials
/api/v1/users/logout - Logout current user
/api/v1/users/forgotPassword - Request password reset
/api/v1/users/resetPassword/:token - Reset password with token
/api/v1/users/updateMyPassword - Update current user password
Base URL: /api/v1/users
/api/v1/users/me
- Get current user profile
/api/v1/users/updateMe - Update current user data
/api/v1/users/deleteMe - Deactivate current user account
/api/v1/users -
Get all users
/api/v1/users/admins - Get all admin users
/api/v1/users/all - Get all users (no pagination)
/api/v1/users/all/admins - Get all admin users (no pagination)
/api/v1/users/admin - Create a new admin user
/api/v1/users/:id - Get user by ID
/api/v1/users/:id - Update user
/api/v1/users/:id - Delete user
Base URL: /api/v1/services
/api/v1/services
- Get all services
/api/v1/services - Create a new service
/api/v1/services/all - Get all services (no pagination)
/api/v1/services/delete-all - Delete all services
/api/v1/services/:id - Get service by ID
/api/v1/services/:id - Update service
/api/v1/services/:id - Delete service
Base URL: /api/v1/skills
/api/v1/skills -
Get all skills
/api/v1/skills
- Create a new skill
/api/v1/skills/all - Get all skills (no pagination)
/api/v1/skills/delete-all - Delete all skills
/api/v1/skills/:id - Get skill by ID
/api/v1/skills/:id - Update skill
/api/v1/skills/:id - Delete skill
Base URL: /api/v1/projects
/api/v1/projects
- Get all projects
/api/v1/projects - Create a new project
/api/v1/projects/all - Get all projects (no pagination)
/api/v1/projects/delete-all - Delete all projects
/api/v1/projects/:id - Get project by ID
/api/v1/projects/:id - Update project
/api/v1/projects/:id - Delete project
Base URL: /api/v1/testimonials
/api/v1/testimonials - Get all testimonials
/api/v1/testimonials - Create a new testimonial
/api/v1/testimonials/confirmed - Get all confirmed testimonials
/api/v1/testimonials/:id - Get testimonial by ID
/api/v1/testimonials/:id - Update testimonial
/api/v1/testimonials/:id - Delete testimonial
Base URL: /api/v1/contacts
/api/v1/contacts
- Get all contacts
/api/v1/contacts - Create a new contact
/api/v1/contacts/:id - Get contact by ID
/api/v1/contacts/:id - Update contact
/api/v1/contacts/:id - Delete contact
Base URL: /api/v1/clients
/api/v1/clients
- Get all clients
/api/v1/clients - Create a new client
/api/v1/clients/all - Get all clients (no pagination)
/api/v1/clients/delete-all - Delete all clients
/api/v1/clients/:id - Get client by ID
/api/v1/clients/:id - Update client
/api/v1/clients/:id - Delete client
Base URL: /api/v1/categories
/api/v1/categories - Get all categories
/api/v1/categories - Create a new category
/api/v1/categories/all - Get all categories (no pagination)
/api/v1/categories/delete-all - Delete all categories
/api/v1/categories/:id - Get category by ID
/api/v1/categories/:id - Update category
/api/v1/categories/:id - Delete category
Base URL: /api/v1/blogs
/api/v1/blogs -
Get all blogs
/api/v1/blogs
- Create a new blog
/api/v1/blogs/all - Get all blogs (no pagination)
/api/v1/blogs/delete-all - Delete all blogs
/api/v1/blogs/:id - Get blog by ID
/api/v1/blogs/:id - Update blog
/api/v1/blogs/:id - Delete blog
Base URL: /api/v1/build-project
/api/v1/build-project - Create a new build project
Base URL: /api/v1/landing
/api/v1/landing
- Get landing page data
For more information about the API, please refer to the documentation or contact the administrator.