You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new directory in ./api/utils named ./api/utils/mock-data/
In this folder write scripts to generate each type of data model available (currently/soon to be Reviews, Courses, and Careers) and save them to the database.
e.g. node ./api/utils/mock-data/courses.js <number> puts <number> randomly generated courses into our collection of courses.
You can access command line arguments from node by using the process.argv object.
The text was updated successfully, but these errors were encountered:
Create a new directory in
./api/utils
named./api/utils/mock-data/
In this folder write scripts to generate each type of data model available (currently/soon to be Reviews, Courses, and Careers) and save them to the database.
e.g.
node ./api/utils/mock-data/courses.js <number>
puts<number>
randomly generated courses into our collection of courses.You can access command line arguments from node by using the
process.argv
object.The text was updated successfully, but these errors were encountered: