Dotshare is a social platform where users can share posts and engage with other users.
- User authentication with Next Auth through multiple providers (Google, Github, & Credentials)
- Users can:
- Manage their posts (Full CRUD)
- Like and comment on posts
- Follow and unfollow users
- Save and unsave posts
- Edit their profile (bio, profile picture, username, etc.)
$ git clone [email protected]:mtsfy/dotshare.git
$ cd dotshare
$ npm install
Setup environment variables:
DATABASE_URL= # MongoDB connection
NEXT_PUBLIC_NODE_ENV=development # change to production when deploying
NEXT_PUBLIC_GOOGLE_CLIENT_ID= # Google OAuth Client ID
NEXT_PUBLIC_GITHUB_CLIENT_ID= # Github OAuth Client ID
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME= # Next Cloudinary
Start the frontend server:
$ npm run dev
The frontend will start running on http://localhost:3000