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

https://github.com/blevs/mock-swapi-people


https://github.com/blevs/mock-swapi-people

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

          

* Mock SWAPI people API
** Running the server
Install dependencies
#+begin_src sh
yarn install
#+end_src

Run the server
#+begin_src sh
yarn start
#+end_src

By default, it will listen on port 4040. This behavior can be changed by
setting the `PORT` environment variable.
** Routes
There is only one route - `/api`. It returns the first page of the swapi
people api.