0% found this document useful (0 votes)
2 views3 pages

Full Stack Assignment

The document outlines the creation of a parenting community wall where users can share posts, like, and comment on them, utilizing a Node.js or Python backend with a MongoDB or SQLite database. It specifies requirements for both backend and frontend development, including API endpoints, UI/UX design, and optional features like pagination and user authentication. The deliverables include a GitHub repository with clear setup instructions and documentation, aimed at assessing full-stack development skills within a two-day timeframe.

Uploaded by

Sounak Konar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Full Stack Assignment

The document outlines the creation of a parenting community wall where users can share posts, like, and comment on them, utilizing a Node.js or Python backend with a MongoDB or SQLite database. It specifies requirements for both backend and frontend development, including API endpoints, UI/UX design, and optional features like pagination and user authentication. The deliverables include a GitHub repository with clear setup instructions and documentation, aimed at assessing full-stack development skills within a two-day timeframe.

Uploaded by

Sounak Konar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Parenting Community Wall

Objective
Build a community wall where parents can share short posts,
like and comment on others’ posts, with basic persistence and
a clean UI.
The goal is to assess:
 Scalable API structure
 Real database integration
 Smooth frontend interaction
 Code clarity and modularity

Requirements

1. Backend — [Link] + Express + MongoDB


(or Python + FastAPI + MongoDB/SQLite)
Implement a small REST API with these endpoints:
Endpoint Metho Description
d
/api/posts GET Get all posts (sorted newest →
oldest)
/api/posts POST Create a new post { author,
message }
/api/posts/:id/like POST Increment like count
/api/posts/:id/ POST Add comment { author, text }
comments
/api/posts/:id GET Fetch single post with
comments
Example Post Schema

{
id: "uuid",
author: "Neha",
message: "Any healthy breakfast ideas for picky eaters?",
likes: 4,
createdAt: "2025-11-10T10:00:00Z",
comments: [
{ author: "Raj", text: "Try banana pancakes!" },
{ author: "Sia", text: "Oats muffins work great too" }
]
}

Database
Use MongoDB Atlas (free tier) or SQLite for persistence.

2. Frontend — Flutter
Create a single-page app with three key areas:
A. Post Composer
 Textarea + “Post” button
 On submit → calls POST /api/posts → updates feed
instantly
B. Community Feed
 Displays posts from /api/posts
 Each post shows:
 Author
 Message
 ❤️Like button (increments immediately)

C. Comment Section
 Clicking “
 Calls /api/posts/:id/comments
Optional: Persist logged-in user name in localStorage.

3. UI/UX
 Minimal, mobile-friendly layout
 Use soft colors and rounded cards
 Loading states / error handling for API calls
 Use environment variables for API base URL

4. Bonus (Optional)
 Add pagination or infinite scroll for posts
 Add “Most Liked” filter
 Deploy backend on Render/Railway and frontend on
Vercel/Netlify
 Add a lightweight auth mock (enter name once → stored
locally)
Deliverables
 GitHub repository with:
 /backend and /frontend folders
 [Link] with clear setup steps and API
documentation
 Optional deployed demo (bonus points)
 Short paragraph explaining:
 Tech stack choice
 How likes/comments are handled

Example Flow
1. User enters name “Ritika” and posts:
“How do you manage nap time for twins?”
2. Another parent likes ❤️the post.
3. Third parent comments: “White noise machines
help!”
4. Feed updates automatically.

Summary
Category Detail
Goal Build a small, functional community wall
Scope Posts + Likes + Comments
Tech React + Express + MongoDB
Stack
Time 2 days
Outcome Tests full-stack thinking, persistence, and
UI skill

You might also like