Travel Book API

Backend server for your travel memories application

API Routes

POST /create-account

Create a new user account for Travel Book

POST /send-signup-otp

Send OTP to user's email for account verification

POST /verify-signup-otp

Verify OTP for new account signup

POST /login

Authenticate user and return access token

POST /add-travel-story

Add a new travel story to the user's collection

GET /get-all-stories

Get all travel stories for the authenticated user

PUT /edit-story/:id

Edit an existing travel story

DELETE /delete-story/:id

Delete a travel story

POST /image-upload

Upload an image for a travel story

GET /search

Search travel stories by query text

GET /profile

Get user profile with statistics

PUT /update-profile

Update user profile information

POST /change-password

Change user password

POST /forgot-password

Request a password reset link

GET /api/public-profile/:userId

View a user's public profile

Developer

Sahil

SAHIL

contact@sahilfolio.live

sahilfolio.live

For Travel-Book API documentation, refer this link .