Welcome to Figuringout.life – an open-source full-stack application built with Next.js, where users can share their thoughts in one-liners on a variety of topics. This platform encourages engagement through likes, comments, shares, and reposts, creating a vibrant community of thinkers.
- Text-Only Posts: Users can create simple text posts to express their thoughts. (No multimedia support at this time.)
- Engagement: Interact with posts through likes, comments, and shares to foster discussions.
- Explore Ideas: Discover a range of topics and insights from users around the world.
- Node.js
- npm or yarn
- MongoDB
- Google OAuth
- Clone the repository:
git clone https://github.com/yourusername/figuringout.life.git
cd figuringout.life
- Create Environment variables.
cp .env.example .env
# Edit values as needed
- Install dependencies:
npm install
- Generate keys for PWA and store them in .env file
node generate-vapid-keys.js
- Start the development server
npm run dev
- Open your browser and visit https://localhost:3000.
There are 2 options to setup MongoDB.
- Using Cloud DB (using Mongo Atlas)
- Using Docker locally. (Recommended)
Ensure that Docker-Desktop app is installed on your system and is running. Docker Desktop
To create a MongoDB Docker Container, run the following:
docker run --name mongo -p 27017:27017 -v ./data/db:/data/db -d mongo mongod
Add connection string in .env file
MONGODB_URI=mongodb://localhost:27017
We welcome contributions! If you'd like to contribute to Figuringout.life, please follow these steps:
- Fork the repository.
- Create your feature branch (git checkout -b feature/YourFeature).
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature/YourFeature).
- Open a Pull Request.
Read our contribution guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for details.
Explore and share your thoughts at https://figuringout.life!