Home / Companies / Couchbase / Blog / Post Details
Content Deep Dive

Exploring Couchbase and N1QL through Touchbase using Node.js and Angular.js – Part 0: Creating a Data Model

Blog post from Couchbase

Post Details
Company
Date Published
Author
Pranav Mayuram
Word Count
1,309
Company Posts That Month
30
Language
English
Hacker News Points
-
Post removed?
No
Summary

The developers of Touchbase started by defining the structure for storing user data, which includes three main components: User Document, Posts, and Images. The User Document stores all information about a user, including their name, expertise, job title, and login credentials, and is stored under a unique UUID to prevent duplication. The Posts document stores information about each post created by users, including the author ID, blurb, hyperlink, image path, publication type, and time posted. The Images document stores images uploaded by users and associates them with the user's document using a unique ID. The data model is designed to be flexible and customizable, allowing developers to modify the attributes used in the User Document and Posts documents through a config.json file.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.