Paste Bin is a popular website where you can store any text online for easy sharing. This project is developed using NodeJS (Express JS) and MongoDB. EJS is used to generate the html pages.
- Enter a paste name (optional)
- Type / Paste content (required)
- Set expiration:
- Never expire
- Expire on read
- Set Expire time from 1 minute upto 60 minutes
- Enable / Disable password protection
- Save Paste
A unique Paste ID will be generated which can be shared with anyone.
$ npm i
to install required Packages
$ npm run dev
$ npm run prod
The app will then be accessible at localhost:3000. The default port is 3000, however this can be changed in the .env, or enter the server IP address and port after port forwarding.
If you are interested in this project, make sure to add it to your favorites or give a ⭐ to get the latest updates. I am open to improvements especially in the server code. Please feel free to clone this repository and modify or improve anything as you wish. Check out my other games 👉🏻 here