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

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

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