Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/raphaelkieling/nix

Create a API in 2 seconds :tram:
https://github.com/raphaelkieling/nix

Last synced: 28 days ago
JSON representation

Create a API in 2 seconds :tram:

Awesome Lists containing this project

README

        




Nix


Nothing to create a api.


Installing |
Getting Started |
Docs

**Nix** is a library for create APIs fast. You need nothing to create an api. The reason to create this is the boring process to create a simple api, i need make this be simple.

**IT'S FAST!!!**

![speed](https://media.giphy.com/media/5YayOGiDo5vItN379Q/giphy.gif)

## Installing

```
npm install -g nix-api
```

## Getting Started

![using gif](./docs/.vuepress/public/images/using.gif)

If you run the command here:

```txt
|_cookie.json
|_myFolder/
|_person.json
|_toRead.md
|_subFolder/
|_anything.js
|_home.html

```

### Run

```
nix
```

### You will receive

```
GET: cookie
GET: myFolder/person
GET: myFolder/toRead
GET: myFolder/subFolder/anything
GET: myFolder/subFolder/home
```

Go to `localhost:PORT/GET_PATH`

## Mega Ultra Super Advanced

|Argument|Description|
|--------|-----------|
|`-p`, `--port`| Set a custom port to api|

## Contributing

* Fork this project
* Create a branch with `your-name/your-feature`
* Make a pull request
* Be happy