Skip to main content

No project description provided

Project description

DetaMVC

DetaMVC is a framework for rapidly developing web applications using:

Work in Progress

Please note that DetaMVC is a work in progress currently. Some planned updates include:

  • Support for more data types when scaffolding
  • Implement Deta Auth when available
  • Generate with other front ends ? (may take significant restructuring)

Installation

pip install detamvc

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 post title:str content:str

Before running your project, be sure to set your PROJECT_KEY for Deta. You can get this from your dashboard under 'settings'.

echo PROJECT_KEY="#######_#############" > .env

NOTE: Deta Base is used as your database. I would strongly recommend creating a new Project called 'development' where you can play around with ideas while building. When you go to production, create a new project in Deta for this to be managed in.

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!

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.1.7.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

detaMVC-0.1.7-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file detaMVC-0.1.7.tar.gz.

File metadata

  • Download URL: detaMVC-0.1.7.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.8 Windows/10

File hashes

Hashes for detaMVC-0.1.7.tar.gz
Algorithm Hash digest
SHA256 d9403fa636331bbbcf7a2f6c4b4760d6a0ec9bd49ad85114b638fcc2ba207e38
MD5 b8431ab3dd776b82c4a3ade721d21d56
BLAKE2b-256 fae3060b5bc9220e38e0812ccdbbec03264c1683b156fe0f2d45c0f02d26aec4

See more details on using hashes here.

File details

Details for the file detaMVC-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: detaMVC-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.8 Windows/10

File hashes

Hashes for detaMVC-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5ffc139853e8a1e42da679b97c85891659f5cd62ef85af42cc049c4633a278eb
MD5 b87951d46a10de046da4043499a27a45
BLAKE2b-256 6de30d4d5439deac0b3f67df04a6bdafb5486da99355af49e547330b2dac31b5

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