Kritika30032002 / Top_Secrets

This is a website that allows user to add their secrets anonymously to the website. Thus makes its interesting. One can add their secrets that they don't want to share with anyone.
https://top-secrets.onrender.com/
MIT License
50 stars 86 forks source link
codepeak2023 expressjs github gssoc-ext hacktoberfest hacktoberfest-accepted html-css-javascript iwoc2024 javascript kharagpur-winter-of-code kwoc kwoc2022 kwoc2023 mongodb nodejs open-source phicsit2024
# Top_Secrets ![License](https://img.shields.io/github/license/Kritika30032002/Top_Secrets.svg?style=for-the-badge) ![Repo Size](https://img.shields.io/github/languages/code-size/Kritika30032002/Top_Secrets.svg?style=for-the-badge) ![TOP_LANGUAGE](https://img.shields.io/github/languages/top/Kritika30032002/Top_Secrets.svg?style=for-the-badge) ![FORKS](https://img.shields.io/github/forks/Kritika30032002/Top_Secrets.svg?style=for-the-badge&social) ![Stars](https://img.shields.io/github/stars/Kritika30032002/Top_Secrets.svg?style=for-the-badge) [![Discord Server](https://img.shields.io/badge/Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/GQCMP8rhB2) This is a website that allows user to add their secrets anonymously to the website. Thus makes its interesting. One can add their secrets that they don't want to share with anyone.

πŸ–ΌοΈ Demo Video of Website

screen-capture.webm

πŸ“– Table of Contents

πŸš€ Project Setup

To get started with locally running the app, follow these simple steps:

  1. Clone this repository: Begin by cloning the Top Secrets repository to your local machine using the following command:

    git clone https://github.com/Kritika30032002/Top_Secrets.git
  2. Install the dependencies: Navigate to the cloned repository and install the required dependencies by running the following command:

    npm install --force
  3. Create a .env file: Create a .env file in the root directory of your project and add the following environment variables:

    GOOGLE_ID=<YOUR GOOGLE OAUTH CLIENT ID>
    GOOGLE_SECRET=<YOUR GOOGLE OAUTH SECRET KEY>
    FACEBOOK_APP_ID=<YOUR FACEBOOK APP ID>
    FACEBOOK_APP_SECRET=<YOUR FACEBOOK SECRET KEY>
    
    PUBLIC_BASENAME=http://localhost:3000/
    PORT=3000
    MONGO_SERVER=mongodb://127.0.0.1:27017
    • GOOGLE_ID & GOOGLE_SECRET : Refer to this video for Google OAuth Client ID and Secret key : Click Here
    • FACEBOOK_APP_ID & FACEBOOK_APP_SECRET : Refer to this video for Facebook ID and Secret key: Click Here
    • PUBLIC_BASENAME : The base URL for the Express app. For local setup, http://localhost:3000/
    • PORT : The port on which the Express app is running.
    • MONGO_SERVER : The MongoDB URI. A MongoDB URI looks like the below examples. Check the video for local setup on Windows & Ubuntu. For a free cloud MongoDB database check this video.

    Locally running instance: mongodb://127.0.0.1:27017/

    Hosted on the internet: mongodb+srv://<username>:<password>@somecluster.some.mongodb.net/

  4. Run the project: Once you have installed the dependencies and added the required environment variables, you are ready to run the project. To start the development server, run the following command:

    node app.js

    or use nodemon to run it in background for a detailed log & better development experience

    npx nodemon app.js

    Great you have successfully run the app! Now get coding!

🌱 Contributing

I heartily welcome any and all contributions that match our engineering standards! :raised_hands:

That being said, this codebase isn't your typical open source project because it's not a library or package with a limited scopeβ€”it's our entire product.

Don't forget to leave a star✨ 

HAPPY CONTRIBUTING!!

πŸ§‘β€πŸ’» How to get started with Open Source

Here's a quick run down on how to get started with open source, first of all let's know some basic terminologies:

Now you know some basic terms, let's get into how to get started with some resources to let you understand open source better:

πŸ₯‚ After making a change

  1. Create a new branch
    git checkout -b YourBranchName
  2. Add it to staging area
    git add <path to the file you worked on>
  3. Commit your changes with
    git commit -m "message"
  4. Push your changes
    git push

πŸ“ƒ Rules

πŸ•΅ Reporting a bug or discussing a feature idea

If you found a technical bug on the website or have ideas for features we should implement, the issue tracker is the best place to share your ideas. (click here to open a new issue)

✨ Fixing a bug or implementing a new feature


πŸ‘€ Our Contributors

Β Β 

πŸ’ͺ Thanks to all Contributors

Thanks a lot for spending your time helping Top_Secrets to grow. Thanks a lot! Keep rocking 🍻 Also Give it a Star 🌟, If you loved contributing to the project.

πŸ“„ License

MIT License, see the LICENSE file.