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

https://github.com/arefshojaei/faker-api

This project has been created by NodeJS and custom "Fake Data" with API
https://github.com/arefshojaei/faker-api

api express-js fake fake-data faker fakerjs nodejs rest-api rest-ful

Last synced: 2 months ago
JSON representation

This project has been created by NodeJS and custom "Fake Data" with API

Awesome Lists containing this project

README

          

Faker API 👌


faker Api


NodeJs and ExpressJS


Demo




javascript logo

nodejs logo

express logo


###

How to use it?

> First step:

Install all package dependencies from NPM
```bash
npm install
```

> Second step:

After installing packages, then create ".env" file in root of the project and add these variables
```bash
APP_PORT = 3000
```

> Third step:

Launch web server for using as service!
```bash
npm start
```
###

API End-points + HTTP methods

###
> Get random fake a User data
```txt
[GET] /api/user
```

> Get random fake Git data
```txt
[GET] /api/git
```

> Get random fake Http-request data
```txt
[GET] /api/request
```

> Get random fake Finance-account data
```txt
[GET] /api/finance-account
```