diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..449b7d2 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +node_modules/ +.next/ +.env +.env.local \ No newline at end of file diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..999cc57 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,17 @@ +name: PR Comment + +on: + pull_request: + types: [opened] + +jobs: + add_comment: + runs-on: ubuntu-latest + + steps: + - name: Add a "Thank you" comment to new PR + uses: actions-ecosystem/action-add-comment@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + issue_number: ${{ github.event.pull_request.number }} + comment: '🎉 Thank you for your contribution! Your pull request has been submitted successfully. A maintainer from DearDiary team will review it as soon as possible. We appreciate your support in making this project better.' diff --git a/.gitignore b/.gitignore index 925ce47..83541c8 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ yarn-error.log* # local env files .env*.local +.env.example # vercel .vercel diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b5684e3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# Use an official Node.js image as the base image +FROM node:18-alpine + +# Set the working directory +WORKDIR /app + +# Copy package.json and package-lock.json first +COPY package*.json ./ + +# Set NODE_ENV to development for the build process +ENV NODE_ENV=development + +# Install dependencies +RUN npm install + +# Copy the rest of the application code +COPY . . + +# Expose the Next.js default port +EXPOSE 3000 + +# Start the Next.js app +CMD ["npm", "run", "dev"] diff --git a/README.md b/README.md index bf30548..5640a36 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,28 @@ Welcome to the **[DearDiary](https://github.com/TenzDelek/DearDiary)** repository! This project is built with **Next.js** and uses **Clerk** for authentication. This guide will walk you through setting up the project and contributing effectively. +## Featured In + +
Event Logo | +Event Name | +Event Description | +
---|---|---|
+ | GirlScript Summer of Code Ext 2024 | +GSSOC Ext is a one-month-long open-source program by the GirlScript Foundation that runs from October 1 to November 10, 2024 | +
+ | Hacktoberfest 2024 | +Hacktober Fest is an annual celebration of open-source software development. It's a month-long event encouraging developers to contribute to open-source projects. | +
Embark on a journey of self-discovery and growth through the power of journaling. -
{feature.details}
-{feature.details}
+