Skip to content

EHB-MCT/assignment-1-python-gpt-staf-julien

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatPy

A simple chat back-end REST API template built with Python trying to follow the PEP8 standard and other conventions.

Up & running (optional)

  1. Open your terminal (inside VSC or PowerShel).
  2. add this comment tin the terminal : pip install -r ./requirements.txt.
  3. Run the project with this : python main.py

API endpoints

Users

GET /users

  • Returns a list of all users in the system.

POST /users

  • Creates a new user.
  • Parameters:
    • name (str): The name of the user.
    • email (str): The email address of the user.

GET /users/{user_id}

  • Retrieves information about a specific user by ID.

PUT /users/{user_id}

  • Updates information about a specific user by ID.
    • Parameters:
      • name (str): The updated name of the user.
      • email (str): The updated email address of the user.

DELETE /users/{user_id}

  • Deletes a specific user by ID.
    • Parameters:
      • user_id (int): The ID of the user to delete.

sources

sources for conventions

sources for code

About

dev-v-2024-2025-assignment-1-template-DEV-V created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%