Giter Site home page Giter Site logo

secrets-web's Introduction

Secrets Web Application

๐Ÿ”’ Welcome to Secrets Web App, where anonymity meets connection! Discover a sanctuary for sharing anonymous secrets, powered by Node.js, Express, MongoDB, and EJS. Join a community built on trust and confidentiality, exploring the power of shared thoughts in a seamless and secure environment. Dive in now! ๐ŸŒŸ

Key Features

  1. User Registration:

    • Sign up with a valid email and password to create your account.
  2. User Login:

    • Existing users can log in securely with their credentials.
  3. Submit Your Secrets:

    • Share your thoughts anonymously by submitting secrets.
  4. View Your Secrets:

    • After logging in, effortlessly access your latest secret along with its creation date.
  5. Dark Mode:

    • Enhance your experience with a sleek and user-friendly dark mode.
  6. CSS Styling:

    • Elevate the visual appeal with carefully crafted CSS styles for the frontend.
  7. EJS Partials:

    • Optimize code organization and reusability using EJS partials in the views.

Prerequisites

Before getting started, make sure you have the following installed:

  • Node.js
  • MongoDB Atlas account (for the remote database)
  • npm (Node Package Manager)

Installation Steps

  • Clone the repository:

    git clone <https://github.com/csgaikwad/Secrets-Web.git>
    cd Secrets-web
  • Install dependencies

    npm install
  • Set up MongoDB:

    • Create a MongoDB Atlas account.
    • Replace the connection string in app.js with your MongoDB Atlas connection string.
  • Run the application

    node app.js
    or
    nodemon app.js

The application will be accessible at http://localhost:3000.

Usage

  1. Open your browser and go to http://localhost:3000.
  2. Register a new account or login if you already have one.
  3. Submit your secrets.
  4. View your latest secret on the home page.

File Structure

  • public: Contains static files (CSS styles).
  • views: Contains EJS templates and partials.
  • app.js: Main application file.

Dependencies

Additional Notes

  • Make sure to keep sensitive information like database credentials secure.
  • Customize the application further based on your requirements.

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests. ๐Ÿš€

secrets-web's People

Contributors

csgaikwad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.