Quick Start
Getting Started with API Mock by Lazycatlabs
Introduction
API Mock is a tool that allows you to mock API responses. Write in Rust 🦀 (btw) and use Actix Web framework. It is useful for testing and development purposes. You can use it to simulate different scenarios and test your application's behavior under different conditions.
Usage
API Mock is use 2 type Authentication. First is General Token and Second is Authentication Token.
General Token
General token is token which is need clientId
and clientSecret
. The usage for General Token
is to know which client is using the API Mock.
That's also allow to block the client if the client is not allowed to use the API Mock. That's why you need the general token
to access login or register endpoint.
Authentication Token
Authentication token is used to access the API Mock which is need user authentication. You need to login first to get the Authentication token. Authentication token is used to get current user information, update current user data, etc.
You can see the description on Authorization section.
Contribution
If you want to contribute to this project, you can fork this project and create a pull request. We are very open to any contribution. You can also create an issue if you find a bug or have a feature request.
Support
You can support this project by giving a star ⭐️ on the repository. And also to keep server live you can donate 💰 here: