Create and share the text documents easily!
Create a simple tool to share the files and edit, duplicate and share the file with others.
- Node.js
- Express ( For running node server)
- MongoDB (Database for storing documents)
- Ejs (For designing client side)
- Download .zip file
- Unzip the file
- Open the root folder in the vs code or any ide of your choice
- Open terminal in this folder and write command
npm i npm start
- Now open the web browser of your choice, like Google chrome, Firefox or any other.
- Copy paste this URL: http://localhost:3000
- The application will start running and the database will be connected to your local MongoDB database
- Any new document created can be easily shared just by copying the URL given in the web browser.
- Each document will have unique id associated with it.
- After the document is saved then it’s duplicate copy can also be created just by clicking on the
Duplicate button
.
In the hastebin editor user will be writing simple text, which will be eventually converted to highlighted markdown text.
For this purpose highlight.js is used.
Submitted by: Himanshu Pal (S20190010064)
Thank you for using Hastebin!
Created with ❤️ by Himanshu Pal.