Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kadirermantr/news-hub
My graduate project @Patika.dev
https://github.com/kadirermantr/news-hub
backend bootstrap php
Last synced: about 10 hours ago
JSON representation
My graduate project @Patika.dev
- Host: GitHub
- URL: https://github.com/kadirermantr/news-hub
- Owner: kadirermantr
- Created: 2023-05-26T01:06:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-03T20:54:27.000Z (9 months ago)
- Last Synced: 2024-03-03T21:40:04.613Z (9 months ago)
- Topics: backend, bootstrap, php
- Language: PHP
- Homepage:
- Size: 2.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# News Hub
- **Tech Stack:** [Tech Stack File](https://github.com/kadirermantr/news-hub/blob/main/techstack.md)
## Installation
```bash
composer install
cp .env.example .env
docker-compose up -d
```This command adds autoload, a helper function, and requirements to the composer file. It also creates a database and imports demo records.
- DB_PASSWORD=`root`
## User Accounts
- Emails:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- Password: 123456---
## Maintenance Mode
To put the website into maintenance mode, the `MAINTENANCE_MODE` variable in the `.env` file should be set to `true`. By default, the value of this variable is `false`.## API
- http://localhost/api/getNews?id=1
- http://localhost/api/allNews
- http://localhost/api/allNews?category=2---
**Note:** You can access the first version of this project from [here](https://github.com/teknasyon-bootcamp/bitirme-projesi-kadir).