lauzhack17
What it is
This project has two parts witch correspond to frontend and backend. Both parts are in different branches on this repo.
Basically is an android app that consumes a REST API to show a list with all the missions of ESA (European Space Agency).
What technologies do it uses
At backend: Python, Django, DjangoRestFramework, BeautifulSoup, SQLite At frontend Java, Android, retrofit
How to run it
The frontent can be run in a local server using python3 manage.py runserver 0.0.0.0:8000
In order to generate the database the following commands must bne executed:
python3 manage.py migrate
python rest/scraper.py
API
The API is hosted on AWS so it can be accessed anywhere. Ther's also a Jenkins configured at port 8000, but is deactivated just in case it fails on the demo.
URLs
- /misions/
- /missions/
Example json
{
"pk": 1248,
"name": "Athena",
"description": "Probing the hot and energetic Universe",
"url": "http://sci.esa.int/cosmic-vision/54517-athena/",
"img": "http://www.esa.int/var/esa/storage/images/esa_multimedia/images/2013/11/artist_s_impression_of_an_active_galaxy/13427405-1-eng-GB/Artist_s_impression_of_an_active_galaxy_mission.jpg",
"web": [
{
"num": 0,
"tag": "p",
"value": "Mission Summary Athena Advanced Telescope for High-E..."
},
{
"num": 1,
"tag": "img",
"value": "http://sci.esa.int/plato/../../../science-e-media/img/6b/59243_merging_black_holes_170.jpg"
} ]
}
Copyrights
All the contents (both text and images) are property of ESA, I do no own any of that. This is mean to be a personal project.
Latests commits
- Frondend branch: ac24776058adc3c3033f24a9c586dd708ecff3c4
- Backend branch: b137611bb7a80efad5cada54ee16ed1021ccb02c
Built With
- amazon-web-services
- android
- beautiful-soup
- django
- django-rest-framework
- java
- python
- retrofit
- sqlite
Log in or sign up for Devpost to join the conversation.