Skip to content

This is a FCC problem "URL shorter" in node js section.

Notifications You must be signed in to change notification settings

memorandumtk/urlShorter_express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener Microservice

This is the boilerplate code for the URL Shortener Microservice project. Instructions for building your project can be found at https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/url-shortener-microservice.

My replit link

https://replit.com/@memorandum876/urlShorterexpress

MongoDB surprise point

The first argument is the singular name of the collection your model is for. Mongoose automatically looks for the plural version of your model name. For example, if you use

const MyModel = mongoose.model('Ticket', mySchema);

Then MyModel will use the tickets collection, not the ticket collection. For more details read the model docs.

About

This is a FCC problem "URL shorter" in node js section.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published