A web application for searching and managing famous quotes and their authors. Built with Express.js and MySQL.
index.jsnpm install
node index.js
The server will run on http://localhost:3000.
| Route | Description |
|---|---|
/ |
Add quote form |
/home |
Main search page |
/authors |
List all authors |
/author/new |
Add new author |
/author/edit |
Edit author |
/allQuotes |
Display all quotes |
/searchByAuthor |
Search by author |
/searchByKeyword |
Search by keyword |
/searchByLikes |
Search by likes range |
/quoteByCategory |
Search by category |
/api/author/:id |
Author API endpoint |
index.js - main application
views/ - EJS templates
partials/ - reusable template partials
public/ - static assets (CSS, JS)