A fun, real-time chat application where users can only communicate using emojis! Built with Next.js, Supabase, and Tailwind CSS.
- 🎭 Emoji-only usernames and messages
- 🔄 Real-time messaging
- 📱 Fully responsive design
- 🎨 Modern UI with rounded elements and gradients
- ✨ Message history persistence
- 🔒 Input validation for emoji-only content
-
Clone the repository: ```bash git clone https://github.com/dhearn93/smileyface.git cd smileyface ```
-
Install dependencies: ```bash npm install ```
-
Set up Supabase:
- Create a new project at supabase.com
- Create a new table called 'messages' with the following schema:
create table messages ( id text primary key, username text not null, content text not null, timestamp bigint not null );
- Enable real-time for the messages table
- Copy your project URL and anon key
-
Configure environment variables:
- Copy
.env.local.exampleto.env.local - Fill in your Supabase project URL and anon key
- Copy
-
Run the development server: ```bash npm run dev ```
-
Open http://localhost:3000 in your browser
- Create a new project on Vercel
- Connect your repository
- Add the environment variables from
.env.local - Deploy!
Feel free to submit issues and pull requests!
MIT License