Welcome to MyStory, a Next.js blog template designed for sharing personal experiences and stories anonymously.
MyStory aims to provide a platform where individuals can share their stories without the pressure of revealing their identities. It's a safe space for expression and connection.
- Anonymous Story Sharing: Users can share their personal experiences and stories without disclosing their identities.
- Next.js Blog Template: Built with Next.js, MyStory serves as a flexible and customizable blog template.
- Markdown Support: Write your stories using Markdown for easy formatting.
- Responsive Design: MyStory is designed to be responsive, ensuring a seamless experience across devices.
To get started with MyStory, follow these steps:
- Clone the Repository: Clone the MyStory repository to your local machine.
git clone https://github.com/yourusername/mystory.git
- Navigate to the Project Directory: Change directory to the cloned repository.
cd mystory
- Copy Environment Variables: Copy Environment Variables to ".env".
cp .env.example .env
- Make your changes and commit them (
git commit -am 'Add some fooBar'
).Make sure to lint and format your code before commiting
npm run lint
to check for lint errorsnpm run lint:fix
to fix lint errorsnpm run format:check
to format the codenpm run format:fix
to fix the formatting
- Install Dependencies: Install the necessary dependencies using npm.
npm install
- Run the Development Server: Start the Next.js development server.
npm run dev
- Start the Container: Start Docker Containers
docker-compose -f docker-compose.dev.yaml up
# or
docker-compose -f docker-compose.dev.yaml up --build
Open your browser and navigate to http://localhost:3000 to view your project.
To add your profile to the contributors page, please follow these steps:
-
Navigate to src/app/(routes)/contributors/ContributorsData.ts.
-
Add Only Your Information: You are allowed to add your own details to the ContributorsData.ts file to ensure accurate attribution of your contributions.
-
Respect Existing Information: Do not alter or modify the details of other contributors. Unauthorized changes may result in your pull request being rejected or not merged.