Welcome to the Blog API Website repository! This project provides a basic implementation of a blog API and frontend, allowing users to read, create, and manage blog posts.
- Create, read, update, and delete blog posts.
- RESTful API backend.
- Simple frontend interface for interacting with the blog API.
- Supports multiple authors and post categories.
Before you begin, ensure you have met the following requirements:
- Node.js: Make sure you have Node.js installed on your machine. You can download it here.
- npm or yarn: Package managers for Node.js. npm is included with Node.js; alternatively, you can use yarn.
- Git: Ensure Git is installed to clone the repository. You can download it here.
Follow these steps to get the project up and running on your local machine:
-
Clone the repository:
git clone https://github.com/sidselothcodes/Blog-API-Website.git
-
Navigate to the project directory:
cd Blog-API-Website -
Install the dependencies: If you are using npm:
npm install
Once you have completed the installation steps, follow the instructions below to run the application on your local machine.
-
Start the Backend Server First, ensure that the backend server is up and running:
npm run start:client
This command will start the backend API server. The server typically runs on http://localhost:4000 or the port specified in your configuration.
-
Start the Frontend Application Next, start the frontend application:
npm run start:client
This command will start the frontend development server. By default, the frontend runs on http://localhost:3000.
-
Access the Application Once both the backend and frontend servers are running, open your web browser and navigate to:
http://localhost:3000