This project is a simple RESTful web application built with Node.js and Express. It demonstrates basic CRUD (Create, Read, Update, Delete) operations using server-side rendering with EJS templates.
- List all items
- View details of a single item
- Create new items
- Edit existing items
- Delete items
index.js # Main server file
public/
style.css # Stylesheet
views/
edit.ejs # Edit item view
index.ejs # List view
new.ejs # New item form
show.ejs # Show item details
- Clone the repository:
git clone https://github.com/gulshankumar143/Comm_Posts.git cd Comm_Posts - Install dependencies:
npm install
Start the development server:
node index.js- Access the home page to see a list of items.
- Use the navigation to create, edit, or delete items.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.