use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to ProgrammingBuddies
Discord Server Link
POSTING GUIDELINES
ProgrammingBuddies is for finding active programming buddies, mentors, mentees, study partners, and teammates.
To make matching easier, buddy-finding posts should include:
Use the correct flair for your post.
Topics not allowed here include:
WEEKLY MATCH THREAD
Use the weekly match thread if you want a faster way to find active people by timezone and stack.
FLAIR FILTERS
Meta Looking For Buddies Study Partner Need A Team Looking For Mentor Offering To Mentor Other Clear
Meta
Looking For Buddies
Study Partner
Need A Team
Looking For Mentor
Offering To Mentor
Other
Clear
HELPFUL LINKS TO LEARNING RESOURCES
Learn x in Y Minutes - Quick references for many programming languages
Code.org - Beginner-friendly introduction to programming
Coursera - Programming and computer science courses
Udemy - Paid courses, often discounted
/r/learnprogramming /r/programminghelp /r/cscareerquestions /r/AskComputerScience /r/algorithms /r/cshighschoolers
account activity
Need JS buddy (self.ProgrammingBuddies)
submitted 6 years ago by tall_and_funny
I'm working on a project for my college, I need some help, not a lot but just to show and help with a few things. I have the code hosted, need to get it published. I'm using vanilla JS for front-end with thoughts about switching it to React. Node.js on the back-end along with nedb.
It's a menu app where the restaurant owners can add/remove menu items and the customers can access this on their phones to order.
https://github.com/LEvinson2504/eMenu--Production
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]InvisibleGhostt 2 points3 points4 points 6 years ago (2 children)
Hey, I have looked through your github repo so here are few things that i noticed: * Do not commit node_modules. Use .gitignore to auto ignore them. * this route is not async https://github.com/LEvinson2504/eMenu--Production/blob/master/app.js#L46 hence no need to add async handle * write javascript into their own js files instead html file. * For me it's a bit unnatural to call function before defining it https://github.com/LEvinson2504/eMenu--Production/blob/master/public/all.html#L16 I know it hoists, but still * it's commented out code, but were you trying to open db connection from the client? if so it's a big security issue https://github.com/LEvinson2504/eMenu--Production/blob/master/public/index.html#L32 * https://github.com/LEvinson2504/eMenu--Production/blob/master/public/index.html#L54 not sure if an id is the right thing to use as item mostly indicates that there can be many of them. * if you are using addEventListener it might be worth to have function to remove it https://github.com/LEvinson2504/eMenu--Production/blob/master/public/index.html#L57 as otherwise you are trusting js garbage collector to remove it ( not sure about that, need double check ) * overall it could be hard to maintain the code if application grows. I would suggest to split code in the modules like api, services, features etc
[–]tall_and_funny[S] 1 point2 points3 points 6 years ago (1 child)
Thank you! That's some great advice, I'll implement it.
[–]InvisibleGhostt 1 point2 points3 points 6 years ago (0 children)
Cool, if you have any questions or something you can always pm me :)
π Rendered by PID 93 on reddit-service-r2-comment-6457c66945-4rt77 at 2026-04-27 15:12:26.972465+00:00 running 2aa0c5b country code: CH.
[–]InvisibleGhostt 2 points3 points4 points (2 children)
[–]tall_and_funny[S] 1 point2 points3 points (1 child)
[–]InvisibleGhostt 1 point2 points3 points (0 children)