This is a Pastebin application that allows users to share and store text of any kind. The application is built using React.
https://pastebin-self.vercel.app/
- Users can create a new paste.
- Users can set an expiry time for their new paste.
- Users can view their pastes.
- Users can share their pastes with others.
Provide the steps to install your application. For example:
- Clone the repository:
git clone https://github.com/sama-004/pastebin.git
- Navigate to the project directory and then change the directory to backend
cd pastebin
cd backend- Install dependencies:
npm installoryarn install - Start the server:
npm run devoryarn run dev
- Navigate to the frontend directory:
cd ..
cd frontend- Install dependencies:
npm installoryarn install - Start the frontend:
npm run devoryarn run dev
-
Visit https://pastebin-self.vercel.app/new and add your desired title and text and select a expiry date from the drop down menu. By default the expiry is set to never. Now click on save
-
From the popup that appears click on go to paste or copy the link and visit the link to see the text you submitted. You now have to share this link to others if you want to share the text with them.
This application is built with:
- Frontend: React.js
- Styling: Tailwind CSS
- Backend: Express.js
- Database: MongoDB