https://github.com/blevs/mock-swapi-people
https://github.com/blevs/mock-swapi-people
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/blevs/mock-swapi-people
- Owner: Blevs
- Created: 2019-07-19T16:58:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T22:59:58.000Z (over 3 years ago)
- Last Synced: 2025-10-29T02:57:00.072Z (9 months ago)
- Language: JavaScript
- Size: 207 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.org
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.