| Port details |
- static-api Simple application emulating a basic REST API
- 0.3.1_3 www
=0 0.3.1_2Version of this port present on the latest quarterly branch. - Maintainer: jjachuf@gmail.com
 - Port Added: 2026-04-01 21:24:06
- Last Update: 2026-07-21 06:47:24
- Commit Hash: 9c892d2
- Also Listed In: devel
- License: BSD3CLAUSE
- WWW:
- https://github.com/josejachuf/static-api-rs/
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- static-api>0:www/static-api
- To install the port:
- cd /usr/ports/www/static-api/ && make install clean
- To add the package, run one of these commands:
- pkg install www/static-api
- pkg install static-api
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: static-api
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1775078087
SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
SIZE (rust/crates/adler2-2.0.1.crate) = 13366
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- rust>=1.97.0 : lang/rust
- cmake : devel/cmake-core
- pkgconf>=1.3.0_1 : devel/pkgconf
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_static-api
- USES:
- cargo
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.3.1_3 21 Jul 2026 06:47:24
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.97.1
PR: 296645 |
0.3.1_2 04 Jun 2026 08:52:51
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.96.0
PR: 295694 |
0.3.1_1 27 Apr 2026 12:26:47
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.95.0
PR: 294615 |
0.3.1 01 Apr 2026 21:21:21
    |
Älven (alven)  Author: Jose Jachuf |
www/static-api: [NEW PORT] Simple application emulating a basic REST API
WWW: https://github.com/josejachuf/static-api-rs/
PR: 276675
Reviewed by: yuri@ (Mentor)
Approved by: db@, yuri@ (Mentors, implicit) |