adshayanB / jobMaps

3 stars 0 forks source link

Added seeder to seed local db #142

Closed Jaishreebala closed 3 years ago

Jaishreebala commented 3 years ago

To seed, navigate to server/src and run node seeder -i to seed the db. Note: this only seeds one user into db and adds many job apps to that user. To delete all data, run node seeder -d. The data is in the server/src/_data folder. The jobs are generated by server/src/_data/job_generator.py To generate new jobs, run the above script and paste the results into server/src/_data/JobApps.json and fix any potential formatting issues and you should be good to go. Lmk if you have any questions / concerns ty Note, this seeds the local db