This project is a generator about making the URL to have a short website.
- You can copy the original website from the top and paste it into the input box, then create it.
- It can also connect your own database to save these shorten url (in this case, it is used by MongoDB)
- Just click can copy the site into the clipboard.
- Clone this github
- Install npm
- Connect the database (use the MongoDB in this case)
MONGODB_URI =
"mongodb+srv://(your mongodb account):(password)@cluster0.w9mfqtb.mongodb.net/(My mongodb)?retryWrites=true&w=majority"
- After installation, run
npm run start
- If terminal show the sentence below, means run successfully and click the url
`Express is listening on 3000`
- Node.js
- Express
- Express-Handlebars
- Javascript
- Mongoose
This project is from the Alphacamp class