Skip to content

OxyHQ/Mention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mention

Mention

Mention client
built with Next.js, React Query,
Prisma, PostgreSQL, and Supabase.


Mention

Features

Mention users can:

  • 📱 View the optimal layout for the interface depending on their device's screen size
  • 🎨 Tailor the interface to their preferences with custom themes and colors
  • 🔑 Sign in with Oxy
  • 🎨 Customize profile (upload profile and banner images, change name, add description, location, and website)
  • 👀 See what other users are posting about and inspect their activity such as likes, reposts, and comments.
  • 📷 Share their moments - create and upload posts with up to 4 images.
  • 💬 Engage in conversation by replying to posts
  • ❤️ Give their approval with a like, or take it back
  • 🔄 Repost and quote posts - Share a post with their followers by reposting or quote it with their own thoughts and comments.
  • 🔖 Save posts for later and organize them with bookmarks
  • 🔥 View trending hashtags and create their own by including them in their posts
  • 👥 Discover and follow other users, as well as inspect their profiles and posts.
  • 📩 Send and receive direct messages

Development workflow

Mention uses pnpm as a package manager, so make sure to install it first.

git clone https://github.com/OxyHQ/Mention.git
cd Mention
pnpm install
pnpm run dev

Environment Variables

Before running the development server, make sure to create .env and .env.local files in the root directory of the project and add the required environment variables. You can use the examples provided in the repository as a starting point: .env.example and .env.local.example.

cp .env.example .env
cp .env.local.example .env.local

Prisma

Mention uses Prisma as an ORM to interact with the database. Before running the development server, make sure to generate the Prisma client by running:

pnpm prisma generate

After generating the Prisma client, make sure to also push any changes to the database schema by running:

pnpm prisma db push

This ensures that the local database is up-to-date with any changes made to the schema in the codebase.

Contributing

License

Mention is licensed under the MIT License.