www/static-api 0.3.1_5 FreeBSD
Simple application emulating a basic REST API
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- BSD3CLAUSE
- Categories
- www, devel
- Package size
- 1224.5 KiB, 4103.8 KiB installed
Description
This is a simple application emulating a basic REST API. It allows CRUD operations (Create, Read, Update, Delete) on different collections, where each collection is represented as a JSON file in the filesystem. If the collection does not exist, it is automatically created.
This becomes particularly handy during front-end development, especially when the back-end is still in the process of being develop.
By default, the app will listen on localhost:5800. If you need to change the HOST and PORT, you can pass the values as arguments.
Enter http://localhost:5800 to see the available collections.
Install
Binary package:
pkg install static-api
From the ports tree:
cd /usr/ports/www/static-api/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= static-api>0:www/static-api
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.1_4 | 0.3.1_5 | - | - | 0.3.1_5 |
| FreeBSD:14:quarterly | 0.3.1_4 | 0.3.1_4 | n/a | - | 0.3.1_4 |
| FreeBSD:15:latest | 0.3.1_5 | 0.3.1_5 | n/a | - | - |
| FreeBSD:15:quarterly | 0.3.1_4 | 0.3.1_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.1_4 | 0.3.1_5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 19
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo
- Service scripts
- none
Files
distinfo 375
| File | Size | SHA256 |
|---|---|---|
| rust/crates/adler2-2.0.1.crate | 13366 | 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa |
| rust/crates/aead-0.5.2.crate | 15509 | d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0 |
| rust/crates/aes-0.8.4.crate | 124812 | b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0 |
| rust/crates/aes-gcm-0.10.3.crate | 148991 | 831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1 |
| rust/crates/aho-corasick-1.1.4.crate | 184015 | ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301 |
| rust/crates/alloc-no-stdlib-2.0.4.crate | 10105 | cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3 |
| rust/crates/alloc-stdlib-0.2.2.crate | 6693 | 94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece |
| rust/crates/anstream-1.0.0.crate | 28916 | 824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d |
| rust/crates/anstyle-1.0.14.crate | 17787 | 940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000 |
| rust/crates/anstyle-parse-1.0.0.crate | 22042 | 52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e |
| rust/crates/anstyle-query-1.1.5.crate | 10264 | 40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc |
| rust/crates/anstyle-wincon-3.0.11.crate | 12638 | 291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d |
| rust/crates/anyhow-1.0.102.crate | 48658 | 7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c |
| rust/crates/asn1-rs-0.7.1.crate | 92118 | 56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60 |
| rust/crates/asn1-rs-derive-0.6.0.crate | 11337 | 3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c |
| rust/crates/asn1-rs-impl-0.2.0.crate | 2261 | 7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7 |
| rust/crates/async-trait-0.1.89.crate | 32171 | 9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb |
| rust/crates/atomic-waker-1.1.2.crate | 12422 | 1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0 |
| rust/crates/autocfg-1.5.0.crate | 18729 | c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 |
| rust/crates/aws-lc-rs-1.16.2.crate | 224799 | a054912289d18629dc78375ba2c3726a3afe3ff71b4edba9dedfca0e3446d1fc |