Templates/Social Network API
🌐Available now

Social Network API Template

A fully connected social network mock API with 5 entities, pre-built foreign key relationships — including a self-referential follows table that models user-to-user connections — and 25 records of realistic fake data per route. Ready to call in seconds. No setup, no backend.

5Routes
125Records
5CRUD methods
13Relationships

Schema

Every field maps to a Faker.js generator. Foreign keys are pre-wired — related records are embedded automatically in every GET response based on the defined relationships.

👤users7 fields
username
internet.username
displayName
person.fullName
email
internet.email
avatar
image.avatar
bio
person.bio
followersCount
number.int
followingCount
number.int
hasMany postshasMany commentshasMany likeshasMany follows
📄posts4 fields
content
lorem.paragraph
likesCount
number.int
commentsCount
number.int
userId
→ usersstring.uuid
belongsTo usershasMany commentshasMany likes
💬comments4 fields
content
lorem.sentence
likesCount
number.int
userId
→ usersstring.uuid
postId
→ postsstring.uuid
belongsTo usersbelongsTo posts
❤️likes2 fields
userId
→ usersstring.uuid
postId
→ postsstring.uuid
belongsTo usersbelongsTo posts
🔗follows2 fields
followerId
→ usersstring.uuid
followingId
→ usersstring.uuid
belongsTo users (follower)belongsTo users (following)

Generated endpoints

Every route gets the full set — replace {route} with users, posts, comments, likes, or follows.

GET/api/schema/{route}
GET/api/schema/{route}/:id
POST/api/schema/{route}
PATCH/api/schema/{route}/:id
DELETE/api/schema/{route}/:id

Includes pagination (?page=&perPage=), sorting (?sort=&order=), and optional XML output (Startup+).

Ready to use it?

One click and your Social Network API is live — 5 routes, 125 records, full CRUD, posts and follows fully wired. Sign in or create a free account if you haven't already.

✓ Free plan✓ No credit card✓ Live in under 10 seconds