Coder Social home page Coder Social logo

sinisaos / piccolo-vue-starter Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 327 KB

Starter application template using Piccolo ORM ecosystem (with FastAPI framework) as backend and Vue.js as frontend.

License: MIT License

Python 32.40% Jinja 4.18% CSS 1.62% JavaScript 7.45% HTML 1.51% Vue 48.13% Less 4.71%
fastapi piccolo vuejs

piccolo-vue-starter's People

Contributors

sinisaos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

timoxeen hakimoa

piccolo-vue-starter's Issues

Adding Tables from Multiple Apps to Admin Panel

My piccolo FastApi project has three apps, home, accounts and flights.
Each app has a table_finder function that imports all tables from the tables.py file.

I've been unable to add all tables from all the apps to the root app.py create_admin(
tables=
)
The tables parameter seems to only accept one app's tables.py. Trying add tables of more than one app
as in

create_admin(
tables=[]
)

or create_admin(
tables=()
)

throws errors

CORS issues

I've used this particular setup of CORS on my Vue app with Fastapi and Piccolo that has only one Fastapi instance, just as shown in the vue example project , but I keep getting CORS errors.

The vue app in my case is on http://localhost:9000.

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.