Skip to content

Instantly share code, notes, and snippets.

@aschmelyun
Created July 23, 2021 03:25
Show Gist options
  • Save aschmelyun/5b891376cd67118dec13a5b5e044b3ca to your computer and use it in GitHub Desktop.
Save aschmelyun/5b891376cd67118dec13a5b5e044b3ca to your computer and use it in GitHub Desktop.
Test remote seeding of json-server
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