poet-app
v1.0.1
Published
A simple web application that allows users to post, edit, and delete poems. The application is built using Node.js and MongoDB.
Downloads
63
Readme
Poet Posting Web Application
Description
A simple web application that allows users to post, edit, and delete poems. The application is built using Node.js and MongoDB.
Features
- Post new poems
- Edit existing poems
- Delete poems
- View all posted poems
Project Structure
- refer PROJECT STRUCTURE
Setup
Clone the repository:
git clone https://github.com/ramprasathmk/poet-app.git cd poet-app
Install dependencies:
npm install
Start MongoDB: Ensure MongoDB is running locally. If you're using a local installation, start MongoDB with:
mongod
Start the application:
nodemon server.js
else use:
npm start
Access the application: Open your browser and navigate to http://localhost:3000
Note
Create a .env file
Create your port number, eg. PORT=3000
Create your mongodb url, eg. DB_URL=mongodb://127.0.0.1:27017/your_database_name
Usage
Navigate to the home page to view all poems.
Use the form to add a new poem.
Click "Edit" to modify an existing poem.
Click "Delete" to remove a poem.
Technologies Used
Node.js
Express.js
MongoDB
Mongoose
EJS (Embedded JavaScript templates)
Contributing
Feel free to modify this template to better suit your project’s specific needs. If you need further customization or have any questions, let me know!