How ayush859/memostack works
Project type and purpose
• MEMOSTACK is a full-stack web application for uploading, storing, searching and viewing PDF “notes.”
• The client is a React single-page application (SPA) with Redux for state management, Vite for bundling, Tailwind CSS for styling.
• The server is a Node.js/Express REST API using a Controllers-Models-Routes (MVC) pattern and MongoDB (via Mongoose) for data persistence. It also serves static files (PDFs) from the filesystem.
File structure
Top level:
• client/ – React frontend
– src/ (App.jsx, pages/, components/, Redux store & slices)
– public/, index.html, Vite & PostCSS configs, Tailwind config
• server/ – Express backend
– Controllers/ (AuthController.js, NotesController.js)
– Models/ (User.js, Notes.js)
– Routes/ (auth.js, notes.js)
– files/ (uploaded PDFs), images/, index.js (app entry)
Patterns & configs:
• MVC on server (Models/Controllers/Routes)
• Redux pattern on client (store + slices)
• Static asset serving (server/files + server/images)
• NPM scripts & nodemon for development
README
• Confirms a two-folder setup requiring separate npm install and start commands for server (nodemon index.js) and client (npm run dev).