Skip to content

GeosWorl/N.C.A.T.S

Repository files navigation

N.C.A.T.S - Nell's Carpool and Transportation Services

Transportation Company with Smart Contract Integration

Overview

This repository contains the smart contract infrastructure for N.C.A.T.S (Nell's Carpool and Transportation Services), implementing a blockchain-based business agreement between borrower and lender parties.

Features

  • Smart Contract Infrastructure: Blockchain-based business agreements
  • Web Application: Flask-based web interface with user authentication
  • User Authorization: Secure login, registration, and session management
  • Protected Routes: Access control for authenticated users
  • API Endpoints: RESTful API for integration

Quick Start

New to this? See the Quick Start Guide for a 5-minute setup!

For detailed deployment instructions, see DEPLOYMENT.md

For Flask web application setup, see FLASK_README.md

Smart Contract Setup

Installation

npm install

Configure Environment

cp .env.example .env
# Edit .env with your configuration

Deploy Contract

# Local development
npm run deploy:localhost

# Sepolia testnet
npm run deploy:sepolia

# Ethereum mainnet
npm run deploy:mainnet

Flask Web Application Setup

Installation

# Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

Running the Application

python run.py

The application will be available at http://localhost:5000

Features

  • User registration and login
  • Secure password hashing with Werkzeug
  • Session-based authentication
  • Protected dashboard for authenticated users
  • Comprehensive test suite

For detailed Flask documentation, see FLASK_README.md

Documentation

License

Boost Software License - Version 1.0

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •