No project description provided
Project description
Documentation: https://detamvc.deta.dev
Source Code: https://github.com/pyn-sol/detaMVC
DetaMVC is a framework for rapidly developing and deploying web applications using:
Installation
pip install detamvc
Other Requirements:
Basics
If you are familiar with Ruby on Rails, the commands are very similar for creating an application.
detamvc new project
cd project
detamvc scaffold item name:str description:text price:float quantity:int available:bool
Before running your project, be sure to set your PROJECT_KEY for Deta. You can get this from your Deta dashboard under 'settings'.
echo DETA_PROJECT_KEY="#######_#############" > .env
Or, save yourself the hassle and set your development project key using the command. Hint: Do this before creating a new project.
detamvc set-project-key #######_#################
Run a Server Manually
This assumes you have uvicorn installed. You can run with other servers as you wish - just set up like you would for a normal FastAPI application.
detamvc s
or
uvicorn main:app --reload
Deploy on Deta
Now you can deploy this on Deta! Before running the following, you will need to install the Deta CLI
deta new --project default
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file detamvc-0.4.3.tar.gz
.
File metadata
- Download URL: detamvc-0.4.3.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78bc133f992980f3fc9ff421fa81ce5e0d02cfdbc9195fd46190c713e68cfbc |
|
MD5 | 66c24bfac5a9d5962175acfc862e5bd2 |
|
BLAKE2b-256 | 2e5376c62536a488d1dded0238be4dc0606ebdffadac4970924fda34ab23d48b |
File details
Details for the file detamvc-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: detamvc-0.4.3-py3-none-any.whl
- Upload date:
- Size: 37.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f1834d65b553171bc15524cd87033ddcf8dc0c250c7c7d2c22fb0c08fe0cf3d |
|
MD5 | a22c1283216d29547932cd364f444f08 |
|
BLAKE2b-256 | a7fb060cfa4e5586606411e37162144f8fe26fa11a28684bb49257c83cd5e088 |