DEV Community

Discussion on: How To Create A Fake REST API For Your Project With JSON Server

Collapse
 
ecyrbe profile image
ecyrbe

Yes, it's an express server. You can add custom routes like any express server to generate a valid JWT for the connecting user. And add a JWT validation middleware to protect the other endpoints.