Poet App is a simple web application that allows users to post, edit, and delete quotes or poems. Built using Express.js and MongoDB, it provides a straightforward interface for managing literary entries.
- Post Quotes/Poems: Add new literary entries to the collection.
- Edit Entries: Modify existing quotes or poems.
- Delete Entries: Remove entries from the collection.
- View All Entries: Browse through all posted quotes and poems.
Before you begin, ensure you have the following tools installed:
- Node.js:
>= 20.10.0
- MongoDB Compass:
>= 7.x
- Visual Studio Code:
latest
-
Clone the Repository:
git clone https://github.com/ramprasathmk/poet-app.git
-
Navigate to the Project Directory:
cd poet-app
-
Install Dependencies:
npm install
-
Start the Application:
npm start
-
Access the Application:
Open your browser and navigate to
http://localhost:3000
to start using the Poet App.
The project follows a standard MVC (Model-View-Controller) architecture:
controllers/
: Contains the logic for handling requests and responses.models/
: Defines the data schemas and interacts with the database.routes/
: Manages the routing of HTTP requests.views/
: Holds the EJS templates for rendering the frontend.public/
: Includes static assets like CSS and JavaScript files.
Contributions are welcome! If you have suggestions or improvements, please fork the repository and submit a pull request.
Thank you for using Poet App! Feel free to explore, contribute, and share your favorite quotes and poems.