How chikashishirozu/pro-blog-app-28 works
Project type and purpose
• This is a monolithic full-stack blog application named “pro-blog-app-28.”
• It uses Node.js/Express on the backend, EJS templates on the server for rendering views, and a SQLite database for persistence.
• It provides user signup/login (via Passport), article CRUD operations, search, and static asset serving.
File structure
• Top-level files:
– app.js: main Express server and route definitions
– setup.js / init_db.js / init_db_user_id.js: DB initialization scripts
– blog.db / new.db / dump.sql: SQLite database files and dumps
– send_url.js: likely a helper for generating shareable links
• Directories:
– config/passport.js: authentication strategy setup
– components/ArticleList.js & UserList.js: UI components (could be client-side modular scripts)
– public/: static assets (CSS, images, client JS, sample JSON data)
– views/: EJS templates for all pages (login, signup, list, article detail, edit, etc.)
• No separate “API” or microservice folders—this is a single service that handles both UI and data access.
README insights
• Minimal instructions: install Node.js 22.12.0, sqlite3, run npm install, then node app.js [IP] [Port]
Elements
• Client components in another
Summary