Socket
Socket
Sign inDemoInstall

detamvc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detamvc


Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc