Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some useful features #1553

Open
wants to merge 13 commits into
base: v0
Choose a base branch
from
Open

Add some useful features #1553

wants to merge 13 commits into from

Conversation

wll8
Copy link
Contributor

@wll8 wll8 commented May 30, 2024

  • _noDataNext
    Allows entry to the next route when there is no data, which makes it work seamlessly with other programs

  • _noDbRoute
    Assuming a db.json data breach poses a risk, it can be turned off with this option

  • export express
    At present, it seems that json-server relies heavily on express and is inconvenient to upgrade, so using its dependencies directly will make me install one less package

  • Allow custom bodyParser in jsonServer.router
    This way you can compile configure the size of the request body limit or some other thing

@wll8 wll8 changed the title feat: Add _noDataNext option Add some useful features May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant