https://github.com/omerdogan3/project-1-api
Design Patterns Project1 Extra - API
https://github.com/omerdogan3/project-1-api
api bottle planet python3 rest-api webserver
Last synced: 6 months ago
JSON representation
Design Patterns Project1 Extra - API
- Host: GitHub
- URL: https://github.com/omerdogan3/project-1-api
- Owner: Omerdogan3
- Created: 2018-09-27T15:56:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-29T00:12:25.000Z (about 7 years ago)
- Last Synced: 2025-02-06T12:48:00.631Z (8 months ago)
- Topics: api, bottle, planet, python3, rest-api, webserver
- Language: Python
- Homepage:
- Size: 135 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project 1 MicroService API
I have converted project 1 to a simple API microservice.
It basically gets requests and generates planets and returns coordinates of stars, types of planets etc. as json objects.
Also, I created a simulator which can be found in here.
It gets all of its data from this API.```
Clone this repository
```
```
python index.py
```Then server will start in your localhost:8080.
You have to keep open your local server to star simulator.```
localhost:8080 -> generates planets and returns required data
``````
localhost:8080/search -> simulates each iteration of my search algorithm.
```
In each request, returns location of the nearest star and whether or not life exists.Note!! In default, it only generates 30 stars, if you have better system configuration than i have, you can increase the number.
## Project1-GUI