mongodb-express-rest-api-example icon indicating copy to clipboard operation
mongodb-express-rest-api-example copied to clipboard

stub branch is not usable for tutorial on mongodb.com

Open davidko5 opened this issue 2 years ago • 2 comments

Hello, I were trying to go with tutorial on https://www.mongodb.com/languages/express-mongodb-rest-api-tutorial, which is asking to clone stub branch of this repo and then change files form that branch supposing it is having for example server/routes/posts.mjs when stub branch is having only routes/record.js. Or I don't understand something or that tutorial is referencing not existent codebase.

davidko5 avatar Jun 05 '23 14:06 davidko5

➕1️⃣ to davidko5. Tried following that tutorial, which directly links to this repo/branch, and it directly references code in server/index.mjs as "already there", but that file doesn't exist in the stub branch.

@sis0k0 @Pash10g @joellord Any idea if the stub branch was changed, or if that tutorial was accidentally pointed here instead of somewhere else?

SPConrad avatar Mar 15 '24 18:03 SPConrad

That tutorial is completely broken. There's so many stuff missing in the stub branch... for instance the "dev" script just does not exist.

gilfalko avatar Oct 26 '24 08:10 gilfalko