Rahulkt-tech/decodelabs_tasks
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Repository files navigation
========================================================================
DECODEREADS ENTERPRISE FULL STACK WEB SUITE - COMBINED BUNDLE (PROJECT 1, 2, & 3)
Batch: 2026 | Technical Assessment Milestone Submission Repository
========================================================================
You have reached the ultimate architecture layer! This compressed workspace zip combines:
1. PROJECT 1 -> Accessible, Semantic HTML5 layout structures with 2025 Warm CSS grids.
2. PROJECT 2 -> RESTful API pathway controllers handling JSON requests and data protocols.
3. PROJECT 3 -> Native SQLite3 relational database persistence layer mapping actual CRUD.
UNCOMPRESSED FILE MANIFEST MATRIX:
----------------------------------
βββ index.html <- Core front-end framework-free semantic layout view engine.
βββ style.css <- 2025 design specification sheet (Mocha Mousse colors, mobile-first breakpoints).
βββ script.js <- Updated interactive front-end script wired via fetch() to process API backend DB operations.
βββ server.js <- Unified Node.js backend runner utilizing Express and SQLite3 drivers.
βββ package.json <- System setup instruction dependencies list manifest.
βββ README.txt <- System runtime manual sheet (the information text array you are observing).
HOW THE FULL-STACK FLOW CONVERGES COMPLIANT WITH PROJECT 1, 2, AND 3 MANDATES:
-----------------------------------------------------------------------------
* PERSISTENCE GRAPH: Instead of unstable memory variables that clear on crashes, information rows are written into a true database file named 'library_vault.db' on your local hardware drive.
* PARALLEL CRUD VERBS:
- CREATE -> Triggers a POST API fetch matching database PARAMETERIZED SQL inserts.
- READ -> Triggers a GET API fetch routing a native SQL 'SELECT' to display data blocks.
- UPDATE -> Triggers a PUT metadata call mapping to an internal SQL row update pipeline.
- DELETE -> Triggers a DELETE drop request clearing explicit item rows using primary key rows.
* SQL INJECTION SHIELDING: Every endpoint database driver connection statement handles strings inside safe parameter arrays ('?') to completely shield information fields against injection scripts.
DEPLOYMENT INSTRUCTIONS:
-------------------------
1. Extract all zipped contents into an empty directory on your machine.
2. Verify Node.js environment installation (version 18 or above recommended).
3. Access your standard command terminal inside that folder directory and type:
npm install
4. Ignite your unified full-stack engine application runner by executing:
npm start
5. Point your browser viewport to the active local portal route:
http://localhost:3000
The dashboard view dynamically loads and reflects storage rows straight out of your SQLite3 relational file. You can now use the interface buttons to test creating, updating, or deleting rows directly into the database!