An open API service indexing awesome lists of open source software.

https://github.com/rudrakshi99/news-api


https://github.com/rudrakshi99/news-api

beautifulsoup4 celery django-rest-framework sqlite

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# News-Api
It is a News api made by scraping the Google news website using beautiful soup and details is updating periodically in every 1 Hour.

## Technology Stack to be used:

[![View in Swagger](http://jessemillar.github.io/view-in-swagger-button/button.svg)](https://news-api-rudrakshi.herokuapp.com/swagger/)

- **Backend**: Django Rest Framework
- **IDE**: VS Code
- **API Testing & Documentation:** Swagger
- **Version Control**: Git and GitHub
- **Database**: Sqlite

### Backend Setup Instructions

- Fork and Clone the repo using
```
$ git clone https://github.com/rudrakshi99/News-Api.git
```
- Setup Virtual environment
```
$ python3 -m venv env
```
- Activate the virtual environment
```
$ source env/bin/activate
```
- Install dependencies using
```
$ pip3 install -r requirements.txt
```
- Make migrations using
```
$ python3 manage.py makemigrations
```
- Migrate Database
```
$ python3 manage.py migrate
```
- Create a superuser
```
$ python3 manage.py createsuperuser
```
- Run server using
```
$ python3 manage.py runserver
```