Created
July 23, 2021 03:25
-
-
Save aschmelyun/5b891376cd67118dec13a5b5e044b3ca to your computer and use it in GitHub Desktop.
Test remote seeding of json-server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = { | |
users: [] | |
}; | |
for (let i=0; i<100; i++) { | |
data.users.push({ | |
id: i, | |
name: `User #${i}` | |
}); | |
} | |
module.exports = data; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment