{"id":18908327,"url":"https://github.com/ibrahimbougaoua/restaurant","last_synced_at":"2025-04-15T05:31:53.857Z","repository":{"id":42275068,"uuid":"260299887","full_name":"ibrahimBougaoua/restaurant","owner":"ibrahimBougaoua","description":"simple restaurant website using node js and mongodb.","archived":false,"fork":false,"pushed_at":"2023-03-04T15:28:40.000Z","size":34350,"stargazers_count":24,"open_issues_count":7,"forks_count":15,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T16:43:50.707Z","etag":null,"topics":["css3","database","expressjs","html5","mongodb","node-js"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=SS7r8sERSZI\u0026t=3s","language":"EJS","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/ibrahimBougaoua.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":"2020-04-30T19:27:08.000Z","updated_at":"2025-02-25T18:22:28.000Z","dependencies_parsed_at":"2024-11-08T09:39:54.273Z","dependency_job_id":null,"html_url":"https://github.com/ibrahimBougaoua/restaurant","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/ibrahimBougaoua%2Frestaurant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimBougaoua%2Frestaurant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimBougaoua%2Frestaurant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimBougaoua%2Frestaurant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibrahimBougaoua","download_url":"https://codeload.github.com/ibrahimBougaoua/restaurant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249015343,"owners_count":21198784,"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","database","expressjs","html5","mongodb","node-js"],"created_at":"2024-11-08T09:25:38.044Z","updated_at":"2025-04-15T05:31:52.153Z","avatar_url":"https://github.com/ibrahimBougaoua.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Watch the video](https://i.ytimg.com/vi/SS7r8sERSZI/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLAg2_eoz8Xh3PH7Pcvuh-5_mvqwEw)](https://www.youtube.com/watch?v=SS7r8sERSZI)\n\n# Simple web application using Node js \u0026 MongoDb\n\n\u003ch3\u003einstallation steps: \u003c/h3\u003e\n\n1 -\u003e install library node js by typing [ npm install ]\n\n2 -\u003e create database with mongodb by typing [ use restaurant ]\n\n3 -\u003e Fake Data to using application by typing [ node ./seeder/seeder.js ]\n\n\u003cstrong\u003ePassword : ddd\u003c/strong\u003e\n\n\u003ch3\u003eMvc concept : \u003c/h3\u003e\n\n![stack Overflow](https://2.bp.blogspot.com/-I6bIQMAj-Nc/WWaQAbXnfJI/AAAAAAAABZg/aVDBAFcksSogYYNgWqd1GIkOZgtQuCQ7ACLcBGAs/s320/icon-aspnetmvc.png)\n\n\u003ch3\u003eDatabase schema :\u003c/h3\u003e\n\n\u003cpre\u003e \n// Users schema\nUser {\n        _id : (\"5e946cbe64937321dc961e5e\"),\n        role : \"adminstrator\",\n        Fname : \"ibrahim\",\n        LName : \"bougaoua\",\n        Contact : \"02152145454\",\n        email : \"adminstrator@gmail.com\",\n        password : \"$2a$08$kmk4DRv5jcCRhNKk0OTBhuze6zKitBOSoSoFKQ/qVKinoVbXzVXkm\",\n        avatar : \"profile.png\",\n        created_at : (\"2020-04-13T13:44:30.521Z\")\n}\n\n// Drink schema\nDrink {\n            _id : (\"5e87404989624917fc83db12\"),\n            Name : \"namemore\",\n            Alcohol : \"alcoholwoman\",\n            Type : \"newwoman\",\n            Description : \"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\",\n            created_at : (\"2020-04-03T13:55:21.527Z\")\n}\n\n// Food schema\nFood {\n        _id : (\"5e81ba1051d4f6298052d9d1\"),\n        Name : \"hmiss\",\n        Price : \"201.21\",\n        Type : \"khfif\",\n        Category : \"taklidi\",\n        Description : \"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\",\n        created_at : (\"2020-04-17T13:55:16.968Z\")\n}\n\n// Table schema\nTable {\n    _id : (\"5e832c1593129439b8f3bdcb\"),\n    Name : \"classic tow\",\n    NumberPlace : \"6\",\n    Type : \"family\",\n    Description : \"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\",\n    created_at : (\"2020-03-31T11:40:05.990Z\")\n}\n\n// Chef schema\nChef {\n        _id : (\"5e833906da8f86227cb61966\"),\n        Fname : \"manal\",\n        LName : \"manal\",\n        Email : \"manal@chef.dz\",\n        Experience : \"10 years of job\",\n        Type : \"all types\",\n        City : \"Illizi\",\n        Postcode : \"35000\",\n        Salary : \"1000\",\n        Sex : \"woman\",\n        Birthdate : \"2020-04-17\",\n        created_at : (\"2020-03-31T12:35:18.391Z\")\n}\n\n// Waiter schema\nWaiter {\n            _id : (\"5e81ae8260cd552b58714cfc\"),\n            Fname : \"mohammed\",\n            LName : \"mohammed\",\n            Email : \"mohammed@waiter.dz\",\n            City : \"Naama\",\n            Postcode : \"35000\",\n            Salary : \"200\",\n            Sex : \"man\",\n            Birthdate : \"2020-04-25\",\n            created_at : (\"2020-03-30T08:32:02.436Z\")\n}\n\n// Booking schema\nCustomer {\n        _id : (\"5e822f29b0f7790a685ac372\"),\n        Fname : \"younes\",\n        LName : \"younes\",\n        Contact : \"02145121210\",\n        Email : \"younes@mail.dz\",\n        created_at : (\"2020-03-30T17:40:57.452Z\")\n}\n\n// Booking schema\nbooking {\n        _id : (\"5e8626c48b66dd116813b732\"),\n        Date : \"2020-04-16\",\n        time : \"6:00am\",\n        number_place : \"3\",\n        CustomerID : \"5e9864b2b8ffe7594876d724\",\n        created_at : (\"2020-04-17T14:31:08.158Z\")\n}\n\n// Bills schema\nBill {\n        _id : (\"5e95f5bbd0315c3d6c25f179\"),\n        Sub_Total : \"88.12\",\n        Vat : \"66.12\",\n        Total : \"900.32\",\n        drink_id : \"5e985e544815552404e93b47\",\n        food_id : \"5e974face028ec5590e73eb6\",\n        waiter_id : \"5e98627d961ec759b0217a69\",\n        table_id : \"5e9719fff6ca344ac449dd20\",\n        CustomerID : \"5e822fd59d92e605285b5396\",\n        created_at : (\"2020-04-14T17:41:15.241Z\")\n}\n\u003c/pre\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimbougaoua%2Frestaurant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibrahimbougaoua%2Frestaurant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimbougaoua%2Frestaurant/lists"}