https://github.com/athiththan11/so-calledrest
Fake REST API with Basic Authentication
https://github.com/athiththan11/so-calledrest
basic-authentication fake jsonplaceholder-api rest-api
Last synced: about 2 months ago
JSON representation
Fake REST API with Basic Authentication
- Host: GitHub
- URL: https://github.com/athiththan11/so-calledrest
- Owner: athiththan11
- License: mit
- Created: 2019-08-15T15:01:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-25T05:41:14.000Z (almost 7 years ago)
- Last Synced: 2025-01-01T07:27:07.378Z (over 1 year ago)
- Topics: basic-authentication, fake, jsonplaceholder-api, rest-api
- Language: Java
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# So-Called REST
A fake REST API for developers with **Basic Authentication** backed by [JSONPlaceHolder](https://jsonplaceholder.typicode.com/).
**[Deployed on Heroku](https://socalledrest.herokuapp.com/)**
### Basic Authentication
* username: `carbon`
* password: `hydrogen`
### Resources
* [Users](https://jsonplaceholder.typicode.com/users)
### Routes
* GET [/mock/users](https://socalledrest.herokuapp.com/mock/users) : `http://localhost:8080/mock/users`
* GET [/mock/users/1](https://socalledrest.herokuapp.com/mock/users/1) : `http://localhost:8080/mock/users/1`
#### Build & Run
> Use the second command, if you dont have a pre-installed maven environment
```shell
mvn spring-boot:run
```
```shell
./mvnw spring-boot:run
```