PairDraw is a fun and interactive platform that allows users to send hand-drawn memos and doodles to their friends. PairDraw makes communication personal and creative via hand drawn sketches and memos
- Hand-drawn Memos: Express yourself through hand-drawn messages and doodles.
- Real-time Interaction: Send and receive messages in real-time, enhancing the immediacy of communication.
- User Authentication: Secure user authentication using ClerkAuth ensures privacy and data security.
- Persistent Data Storage: Messages are stored securely in a MongoDB database, ensuring reliability and accessibility.
Built using modern web technologies including
- React
- Node.js
- Express
- MongoDB
- TypeScript.
A third party Auth service clerk.com was also used
create a .env.local file in /pairdraw-front directory with following entries
VITE_CLERK_PUBLISHABLE_KEY=<YOUR_CLERK_PUBLISHABLE_KEY>
VITE_API_ENDPOINT=<YOUR_API_URL_ENDPOINT>
create a .env file in /pairdraw-back directory with following entries
PORT = <PORT VALUE>
DB=<MONGODB_INSTANCE_URI>
Step 1
cd pairdraw-front
Step 2
npm install
Step 3
npm start
in another terminal instance run the following
npm run tailwind
Step 1
cd pairdraw-back
Step 2
npm install
Step 3
npm start
or
npm run dev
Both services have docker configs too
- Sign up for an account on PairDraw.
- Log in using your credentials.
- Create a pair from New Pair tab
- Find the invite code for the created pair inside the pairing
- Send it to friends as an invite to the pairing
- Communicate via hand drawn memos
Contributions are welcome! If you'd like to contribute to PairDraw, please fork the repository and create a pull request with your proposed changes.
In any given pairing you can draw a doodle and send it to your friend (access it via your canvas under pairlist tab)
- The Express API has been hosted on a free render instance. so before using the application i would recommend you open the url pairdraw.onrender.com
- When you sent a new memo, your old memo gets overriden (this is keeping in mind space constraints of the free tier mongo instance)
- the drawing ux on mobile is not very fun, would recommend using the site on a pc browser (owing to the mobile browser's canvas behaviour)
Visit PairDraw at pairdraw.vercel.app