Skip to content

[P0] Database Utilities #7

@SirajChokshi

Description

@SirajChokshi

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.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions