{"id":20760775,"url":"https://github.com/dracula27/mongodb_lab1","last_synced_at":"2026-04-10T00:04:47.954Z","repository":{"id":92041741,"uuid":"590190494","full_name":"DrAcula27/mongoDB_Lab1","owner":"DrAcula27","description":"Per Scholas - Week 8 - Front-end, Express, and MongoDB - Assignment: MongoDB_Lab1","archived":false,"fork":false,"pushed_at":"2023-01-20T22:17:44.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T05:29:16.215Z","etag":null,"topics":["css3","express-js","git","html5","javascript","mongodb","mongoose"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrAcula27.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-17T21:05:43.000Z","updated_at":"2023-01-21T14:33:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a17c7d9-4bb2-4401-b394-7b9f42b6b222","html_url":"https://github.com/DrAcula27/mongoDB_Lab1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FmongoDB_Lab1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FmongoDB_Lab1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FmongoDB_Lab1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FmongoDB_Lab1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrAcula27","download_url":"https://codeload.github.com/DrAcula27/mongoDB_Lab1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243076603,"owners_count":20232438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css3","express-js","git","html5","javascript","mongodb","mongoose"],"created_at":"2024-11-17T10:15:42.241Z","updated_at":"2025-12-25T00:38:37.480Z","avatar_url":"https://github.com/DrAcula27.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Morning Exercise - First Full-Stack Application\n\n## Per Scholas - Week 8 - Front-end, Express, and MongoDB - Assignment: MongoDB_Lab1\n\n1. Add a second Schema/Model File For Vegetables to our app (`veggie.js`).\n1. Create the following routes in `server.js`:\n    1. `/create_veggie` - this route will get information from the front end and create a new Veggie in the MongoDB collection.\n    1. `/veggies` - this route will get all Veggie objects from the database and send them to the front end.\n    1. `/veggie/:veggieName` - this route will take the `veggieName` and get that specific veggie from the database and send it to the front end to be displayed.\n1. Create the following HTML files:\n    1. Show all veggies - this page will wait to get the viggie information from the backend (`/veggies`), when it gets the data, will display it on the page.\n    1. Create new veggie - form to create new veggie.\n    1. Show single veggie - the JS of this page will make a request to `/veggie/:veggieName` and wait for the response. Will display response on the page.\n1. Add 5 Vegetables to a new collection called Veggies (with your HTML form).\n1. Make sure all pages work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracula27%2Fmongodb_lab1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdracula27%2Fmongodb_lab1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracula27%2Fmongodb_lab1/lists"}