Coder Social home page Coder Social logo

social-wardrobe-fastapi's Introduction

SocialWardrobe

Created by maksymstepaniuk (maxstepanyuk on github). The original repository: social-wardrobe-fastapi

Before using this in your own works, please ask me first.

Contact me or see what I'm up to - linktree

FastAPI

Swagger documentation http://127.0.0.1:8000/docs

Python and virtual environments on Debian 12

Install

On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

sudo apt install python3-venv
# sudo apt install python3.11-venv # in my case

After installing the python3-venv package, recreate your virtual environment.

Create

python3 -m venv /the_path/the_environment_name
# python3 -m venv env # in my case

env - name on the virtual environment

How to activate and deactivate

activate:

# source the_environment_name/bin/activate
source env/bin/activate # in my case

deactivate:

Just enter this:

deactivate

Install requirements

pip install -r requirements.txt

Run

uvicorn main:app --port=8000 --reload

main:app - in file "main.py" run "app".

--port=8000 - use port 8000.

--reload - reload server on file update

social-wardrobe-fastapi's People

Contributors

maxstepanyuk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.