Skip to content

Developed Paste Bin clone using NodeJS (Express JS) and MongoDB.

Notifications You must be signed in to change notification settings

ShreyasTS/paste-bin-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paste Bin Clone

What is Paste Bin?

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.


Index page of the applicaiton

How to use?

  1. Enter a paste name (optional)
  2. Type / Paste content (required)
  3. Set expiration:
    • Never expire
    • Expire on read
    • Set Expire time from 1 minute upto 60 minutes
  4. Enable / Disable password protection
  5. Save Paste

A unique Paste ID will be generated which can be shared with anyone.


How to Run the server?

Required dependencies:

$ npm i to install required Packages

To run the development server:

$ npm run dev

To run the production server:

$ 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.


Screenshots:




Contributions:

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

About

Developed Paste Bin clone using NodeJS (Express JS) and MongoDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published