Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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:
- Host: GitHub
- URL: https://github.com/raphaelkieling/nix
- Owner: raphaelkieling
- Created: 2019-02-26T21:31:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-17T23:26:08.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T16:10:33.692Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 455 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
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