Coder Social home page Coder Social logo

tiangolo / full-stack-flask-couchdb Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 10.0 531 KB

Full stack, modern web application generator. Using Flask, CouchDB as database, Docker, Swagger, automatic HTTPS and more.

License: MIT License

Shell 5.58% Python 66.43% Dockerfile 3.17% TypeScript 12.30% JavaScript 0.69% HTML 1.31% Vue 10.52%
angular api apispec celery cookiecutter couchdb docker flask generator jwt letsencrypt marshmallow python swagger swarm-mode token-authetication traefik webargs

full-stack-flask-couchdb's Introduction

Hey! I'm @tiangolo (Sebastián Ramírez) 👋

I'm a software developer from Colombia. 🇨🇴

I currently live in Berlin, Germany. 🇩🇪

I have been building APIs and tools for Machine Learning and data systems, in Latin America, the Middle East, and now Europe, with different teams and organizations. 🌎

I created FastAPI, Typer and a bunch of other open source tools. 🚀

I like to build things with Deep Learning/Machine Learning, distributed systems, SQL and NoSQL databases, Docker, Python, TypeScript (and JavaScript), modern backend APIs, and modern frontend frameworks. 🤖

I'm currently dedicating a high percentage of my time to FastAPI, Typer, and my other open source projects. At the same time, I'm also helping a limited number of teams and organizations as an external consultant. If you would like to have my help with your team and product, feel free to contact me. 🤓

If my open source projects are useful for your product/company you can also sponsor my work on them. ☕

You can find me on:

full-stack-flask-couchdb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

full-stack-flask-couchdb's Issues

Backend Container does not start

OS: Windows

Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
/start.sh: 2: /app/prestart.sh: 
: not found

Project generator for FastAPI and CouchDB

Hi Sebastián:
I'm interested in CouchDB and I would like to have a project generator based on FastAPI.
I'm quite new to all this. However while learning from the FastAPI documentation and other sources I began to understand why this kind of project generators make so much sense.
Thank you!

Problem with fastAPI and couchdb (sign up api)

Hello everyone, I am trying to do a sign up API with python and the library fastAPI with a couchdb database. So the front makes a post request with json, and the api put it on database. But I did a code and it just doesn't work. Here is the code :

from fastapi import FastAPI, Body 
import uvicorn
from typing import Union
from pydantic import BaseModel
from typing import Optional
import couchdb
from couchdb import Server


api = FastAPI() #on instancie 

class User_register(BaseModel):
    first_name: str
    last_name: str
    gender: str
    age: int
    address:str 
    e_mail:  str



@api.post('/postuserinfo')
def create_post(payload: dict = Body(...)):
    couch_data = 'http://admin:pass@localhost:5984/db_reviewin'
    couch_data.save(payload)
    return {"Status":"Done"}  


if __name__ == '__main__':
    uvicorn.run(api, host= '127.0.0.1', port= 8000)

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.