Skip to content

A hastebin clone. Here u can paste any of your code snippets and share it with your friends.

License

Notifications You must be signed in to change notification settings

SagnikH/Code-Bin

Repository files navigation

Share your code snippets with the help of Code Bin

Motivation

This was my side project while learning MongoDB and express js. At the time I was practicing DSA questions with my friends and sharing answers on whatsapp was becoming an issue. I cam across the Hastebin app and that led me to cloning this web app.

Features

  • Shareable code snippet link.
  • You can even duplicate and edit an existing snippet and share again.
  • A permanent storage for your important algorithms.

Demo

Home Page New snippet
New saved snippet Duplicating an existing snippet

Prerequisites

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

SERVER

  • PORT - 4000 (Port on which the server runs)
  • MONGODB_URI - Connection String provided by Mongodb Atlas

Local Development

Clone the project

https://github.com/SagnikH/Code-Bin

Install dependencies

npm install
npm install -D

Start the server ( PORT: 4000 )

  npm start

Future Plans

  • Added google oauth2.
  • Use data from google oauth to provide default template with timestamp in every snippet header.

Feedback

If you have any feedback, please reach out to us at sagnikh74@gmail.com

License

GPL

About

A hastebin clone. Here u can paste any of your code snippets and share it with your friends.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published