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

Seed using model add delay to requests #5

Merged
merged 1 commit into from
Mar 27, 2020
Merged

Conversation

Reinoptland
Copy link
Contributor

What this pullrequest does:

Changes seeds:

  • Seed users using a sequelize model
  • Seed users using .upsert to validation errors cause by unique emails

Adds a delay middleware:

  • Implement a delay middleware that delays each request 1000 ms
  • This is to better simulate the time normal network traffic would take
  • Allows students to practice showing loading spinners and so on

@Reinoptland Reinoptland merged commit 8396c14 into master Mar 27, 2020
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