Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Latest commit

 

History

History
92 lines (59 loc) · 2.24 KB

README.md

File metadata and controls

92 lines (59 loc) · 2.24 KB

Sharecert

Sharecert is a platform where users can securely upload, showcase, and verify their certificates and achievements on the InterPlanetary File System (IPFS).

Table of Contents

Features

  • Decentralized Storage: Certificates and achievements are stored securely on IPFS for decentralized and permanent access.
  • Verification: Employing blockchain technology or other methods for verifying the authenticity of uploaded certificates.
  • User-Friendly Interface: Intuitive design for easy uploading, viewing, and managing of certificates.

Getting Started

Prerequisites

Before you begin, ensure you have the following prerequisites:

  • Node.js (version 18.X.X)
  • IPFS (optional: if you want to run your own IPFS node)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/Sharecert.git
  2. Navigate to the project directory:

    cd Sharecert
  3. Install dependencies:

    pnpm install

Usage

  1. Start the Sharecert application:

    pnpm dev
  2. Create a .env file in the root directory of the project with the following environment variables:

    DATABASE_URL="mongodb://localhost:27017/sharecert"
    
    AUTH_GOOGLE_SECRET="google-secret-key"
    AUTH_GOOGLE_ID="google-id"
    
    AUTH_GITHUB_SECRET="github-secret-key"
    AUTH_GITHUB_ID="github-id"
    
    AUTH_URL="http://localhost:3000/api/auth"
    AUTH_SECRET="secret-key"
    
    NEXT_PUBLIC_URL="http://localhost:3000"
    NEXT_PUBLIC_IPFS_KEY="ipfs-key"
  3. Generate prisma client:

    pnpm dlx prisma generate
  4. Open your web browser and go to http://localhost:3000.

  5. Follow the on-screen instructions to upload, showcase, and verify certificates.

Contributing

We welcome contributions from the community! If you'd like to contribute to Sharecert, please follow our Contribution Guidelines.

License

This project is licensed under the MIT License.