https://github.com/sultanalieva-s/pull-requests-parser-api
https://github.com/sultanalieva-s/pull-requests-parser-api
django-orm django-rest-framework postgresql python
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sultanalieva-s/pull-requests-parser-api
- Owner: sultanalieva-s
- Created: 2021-09-03T12:49:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-14T20:20:58.000Z (over 2 years ago)
- Last Synced: 2025-03-25T06:25:57.436Z (11 months ago)
- Topics: django-orm, django-rest-framework, postgresql, python
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pull Requests Parser API
Parses open pull requests for a given github repo link.
### How to run locally
From project root directory run `docker-compose build`. Then run `docker-compose up`. In case you do not have `docker` and `docker-compose`, install them on your machine and try again.
### Migrations
Go inside the container: `docker exec -it reviroio bash`. Now that you are inside the container run the commands: `./manage.py makemigrations` and `./manage.py migrate`
## Testing
Go inside the container: `docker exec -it reviroio bash`. Then, run the command: `./manage.py test`
## Description
For parsing libraries were used: BeautifulSoup - to tweak html, requests - to get html from a given link