A website where users can send anonymous messages to others using just their username and receive anonymous messages in return.
- Frontend: Next.js
- Backend: Prisma, NextAuth
- Database: MongoDB
- UI Components: shadcn
- Send anonymous messages to any user by their username.
- Receive anonymous messages from others.
- Simple and user-friendly UI.
Follow these instructions to get a copy of the project running on your local machine.
Make sure you have the following installed:
-
Clone the repository:
git clone git@github.com:anshux1/message-app.git
-
Navigate to the project directory:
cd message-app
-
Set up your environment variables:
Create a .env file in the root of the project with the following variables:
DATABASE_URL=mongodb+srv://example-url NEXTAUTH_SECRET=your-secret-key
-
Install the dependencies:
yarn
-
Running the App
To start the app locally, run the following command:
yarn dev
This will start the development server on http://localhost:3000.