A simple web application that allows users to post, edit, and delete poems. The application is built using Node.js and MongoDB.
- Post new poems
- Edit existing poems
- Delete poems
- View all posted poems
- refer PROJECT STRUCTURE
-
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
-
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
-
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.
-
Node.js
-
Express.js
-
MongoDB
-
Mongoose
-
EJS (Embedded JavaScript templates)
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!