Newsify Backend is an API that scrapes some of the most important news platforms such as The Washington Post, El Pais and El Tiempo to get the most recent news.
Try the API it on Newsify Back
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
-
git clone https://github.com/jazzify/newsify_back.git
-
You must have Python 3 and pip3 installed on your machine in order to run the project.
-
Newsify is using PostgreSQL on a Docker container with docker-compose
-
I like to use Conda as a VE manager but you can also use virtualenv or virtualenvwrapper
A step by step series of examples that tell you how to get a development env running.
Go to the project directory
cd path/to/newsify_back/
Install the dependencies:
pip install -r requirements.txt
Install the development dependencies (optional):
pip install -r requirements-dev.txt
If you already have docker
and docker-compose
in your machine, just run the following command to get your database up and running:
docker-compose up -d
Apply the basic migrations:
python manage.py makemigrations
python manage.py migrate
Check everything works by starting the server:
python manage.py runserver
TODO
TODO
https://newsify-back.readthedocs.io/en/latest/index.html
https://newsify-back.herokuapp.com/api-docs/
This project is licensed under the BSD 3-Clause License - see the LICENSE.md file for details