Skip to main content

No project description provided

Project description

DetaMVC

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:

  • A Deta Account. If you do not have one, go to Deta and click 'Join Deta'
  • The Deta CLI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

detamvc-0.4.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

detamvc-0.4.1-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file detamvc-0.4.1.tar.gz.

File metadata

  • Download URL: detamvc-0.4.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Windows/10

File hashes

Hashes for detamvc-0.4.1.tar.gz
Algorithm Hash digest
SHA256 73b67998d152c984735c044c8ffaf5c76c01b9a863d14f04bf893c5ca73814e7
MD5 f2eacb242d623f91f49a6aee0fcaf9d7
BLAKE2b-256 888a1773a55da7549ec9f031fd69bd94bab474cd2f71c26ef3da16f21e0f57ff

See more details on using hashes here.

File details

Details for the file detamvc-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: detamvc-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Windows/10

File hashes

Hashes for detamvc-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 427f8953ec5eb8e189d2af3f0675ab77c671f1d2244538d15fad88e0fccbf1c9
MD5 55095ae6f23326ef4cdfdabad9638295
BLAKE2b-256 2c54c7dc9a978127d062e7eb29095d167de9580a1ba7260bc3e3c30a66375222

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page