Skip to content

charan1922/RESTAPIs-Python-FastAPI-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Starter

Quickly get started with FastAPI using this starter!

Python RESTful API with FastAPI

This project demonstrates a simple RESTful API built using FastAPI.

Requirements

  • Python 3.7 or higher
  • FastAPI
  • Uvicorn (ASGI server)

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd python-RESTful-fastAPI
  2. Install dependencies:

    pip install fastapi uvicorn

Running the Application

Run the application using uvicorn:

uvicorn main:app --reload

or

fastapi dev main.py
  • The API will be available at: http://127.0.0.1:8000/

Endpoints

  • GET /: Returns a welcome message.
    {
      "message": "Hello World"
    }

License

This project is licensed under the MIT License.

About

Created with CodeSandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors