mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-05 21:28:06 +08:00
95 lines
2.2 KiB
Markdown
95 lines
2.2 KiB
Markdown
|
<p align="center">
|
||
|
<a href="https://github.com/eolinker/eoapi">
|
||
|
<img width="200" src="./images/logo.png">
|
||
|
</a>
|
||
|
</p>
|
||
|
<h1 align="center">Eoapi</h1>
|
||
|
<div align="center">
|
||
|
A lightweight, extensible API tool
|
||
|
</div>
|
||
|
|
||
|
![](./images/preview_1.png)
|
||
|
|
||
|
English | [简体中文](README.md)
|
||
|
|
||
|
# Getting started
|
||
|
|
||
|
- Try the [live demo](https://demo.eoapi.io/)
|
||
|
|
||
|
- You can download it on [Releases](https://github.com/eolinker/eoapi/releases) available for macOS, Windows
|
||
|
|
||
|
- Read our [document](https://www.eoapi.io/) for more features
|
||
|
|
||
|
# Featue
|
||
|
|
||
|
⚡ API Test
|
||
|
|
||
|
- Quickly test the API
|
||
|
- Test local API
|
||
|
|
||
|
📃 API management
|
||
|
|
||
|
- HTTP protocol
|
||
|
- Various formats of request body: FormData, XML, JSON, Raw
|
||
|
|
||
|
🌐 Test environment management
|
||
|
|
||
|
📶 Available offline
|
||
|
|
||
|
🌱 Extension Marketplace
|
||
|
|
||
|
# Preview Features
|
||
|
|
||
|
💻 Collaboration
|
||
|
|
||
|
🎭 Mock Servers
|
||
|
|
||
|
# Build and run
|
||
|
|
||
|
## Prerequisites
|
||
|
|
||
|
- Node.js,version ^14.17
|
||
|
|
||
|
## Running the code
|
||
|
|
||
|
```
|
||
|
npm install
|
||
|
npm start
|
||
|
```
|
||
|
|
||
|
If you want to improve Angular development efficiency, you can install the command-line Angular-cli officially provided by Angular to quickly generate templates such as components and services.
|
||
|
|
||
|
```
|
||
|
npm install -g @angular/cli
|
||
|
```
|
||
|
|
||
|
## Command
|
||
|
|
||
|
### Run
|
||
|
|
||
|
| Command | Description |
|
||
|
| ------------------------ | -------------------------------------------------------------------- |
|
||
|
| `npm start` | In development mode, running on browser and desktop at the same time |
|
||
|
| `npm run electron:serve` | only runs in the desktop |
|
||
|
|
||
|
### Build
|
||
|
|
||
|
| Command | Description |
|
||
|
| ------------------------ | ------------------------------------------------- |
|
||
|
| `npm run electron:build` | Packaging Electron applications for each platform |
|
||
|
|
||
|
### Running the tests
|
||
|
|
||
|
| Command | Description |
|
||
|
| -------------- | ------------------ |
|
||
|
| `npm run test` | Execute unit tests |
|
||
|
|
||
|
|
||
|
# License
|
||
|
|
||
|
This project is licensed under the Apache-2.0 License - see the [LICENSE.md](LICENSE) file for details
|
||
|
|
||
|
# Contact us
|
||
|
|
||
|
If you'd like to contact us, please create a [Github issue](https://github.com/eolinker/eoapi/issues). Thank you!
|