This project is a News Portal developed using
for the frontend with Tailwind CSS and Laravel for the backend. It provides a platform to publish, manage, and display news articles.
- User authentication and authorization.
- News articles CRUD operations.
- Categorized news articles.
- Responsive design for various devices.
Before you begin, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/Thecaracter/inertia_laravel_react.git cd inertia_laravel_react
-
Setup Frontend:
cd frontend npm install # or using yarn # yarn install
-
Setup Backend:
cd backend composer install cp .env.example .env php artisan key:generate # Edit .env file to configure your database php artisan migrate php artisan db:seed # (Optional: Seed sample data)
-
Run the Application:
-
Start the Laravel backend:
cd backend php artisan serve
The backend will be running at
http://localhost:8000
. -
Start the React frontend:
cd frontend npm start # or using yarn # yarn start
The frontend will be running at
http://localhost:3000
.
-
- Visit
http://localhost:3000
to access the news portal frontend. - Use the provided authentication system to log in and manage news articles.
news-portal/
|-- backend/ # Laravel backend
|-- frontend/ # React frontend
|-- .gitignore
|-- LICENSE
|-- README.md
|-- ...
Technologies Used
React with Tailwind CSS
Laravel
MySQL
HTML, CSS, JavaScript
Contributing
Feel free to contribute to this project. You can open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
In this template, I've added the React and Laravel logos using the Markdown syntax for images with alt text and URLs. You can replace the URLs with your preferred image URLs if needed.