SnipBit is a web application for web developers to share and save their code snippets. It allows use to save their HTML,CSS and JS codes in form of snippets in their account. The web app allows you to collaborate on code snippets with other developers in real time.
- Node.js
- Npm
- MongoDB
Clone the repository. There are two folders- client and server.
Go to server directory. Create a .env file and add the following variables
SECRET_KEY - This will be the key used to sign and verify the jwt token
MONGODB_URI - This will be your mongoDB connection URL. Enter MongoDB atlas or localhost url.\
Open a terminal, go to server directory and run the following commands
npm install
node index.js
Open another terminal, go to client directory and run the following commands
npm install
npm start
Go to localhost:3000 to see the website in action.
- Frontend: ReactJS
- Backend: NodeJS
- Database: MongoDB