Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.17 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.17 KB

Piarch-a-token-rs Documentation

Overview

This Rust project provides a simple authentication system using JSON Web Tokens (JWT) and MongoDB. It includes functionalities for user login, token creation, and token validation.

Table of Contents

Setup

Prerequisites

  • Rust installed. (See rustup for installation instructions.)
  • MongoDB server.
  • dotenv and mongodb Rust crates.

Installation

  1. Clone the repository:

    git clone https://github.com/dogabudak/piarch-a-token-rs.git
    
  2. Build the project:

    cargo build
    
  3. Run the application:

    cargo run