Skip to content

Sean2122/CarBox_Server_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CARBOX Application

This is a Python Flask web application for managing car sharing services.

Features

  • Car management
  • Route planning
  • Station management
  • Ride ordering system
  • MQTT integration
  • MongoDB database

Technologies Used

  • Flask
  • PyMongo
  • Paho-MQTT
  • Flask-CORS

Getting Started

  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables in .env file:
DB_CONNECTION=mongodb://localhost:27017
MQTT_HOST=localhost
MQTT_PORT=1883
  1. Run the application:
python main.py

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

API Endpoints

  • /api/cars - Car management
  • /api/ride-orders - Ride order management
  • /api/routes - Route management
  • /api/stations - Station management
  • /api/start - Start service
  • /api/stop - Stop service
  • /api/status - Service status

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages