Welcome to Blog Demo Website!
This project is an online platform where individuals or groups can publish articles, insights, and opinions on various topics, all organized chronologically. The platform enables sharing expertise, personal experiences, and news, often fostering community engagement through comments.
This project includes an API that powers the core functionality of the blog website. Typical RESTful endpoints that may be implemented include:
POST /api/register
– Register a new user accountPOST /api/login
– Authenticate a user and obtain a tokenGET /api/posts
– List all blog postsPOST /api/posts
– Create a new blog postGET /api/posts/:id
– Retrieve a single blog postPUT /api/posts/:id
– Update a blog postDELETE /api/posts/:id
– Delete a blog postGET /api/posts/:id/comments
– List comments for a postPOST /api/posts/:id/comments
– Add a new comment to a postNote: The actual endpoints and parameters may vary based on your implementation.
git clone https://github.com/triptishakya295/blogdemowebsite.git
cd blogdemowebsite
npm install
Set up environment variables
Create a .env
file and add your configuration.
npm start
Open your browser
Visit (https://triptishakya295.github.io/blogdemowebsite/) to view the app.
Contributions and feedback are welcome! Please open an issue or submit a pull request.
Happy blogging! 🚀