Deta is nice, but you need to specifically design your app around their platform, like their serverless containers (Micros) and NoSQL database (Base). So Django and Postgres from the original question are nonstarters.
I just want to give some clue for people who want a free alternative to Heroku, not just to host Django and Postgres.
Talking about Deta Micros, it just two lines of code, that is it.
# to create a project locally and on Deta platform
deta new --python myproject
# to deploy the updated project to Deta
deta deploy
The rest is the regular Python language and framework.
For Deta NoSQL database, there are only 6 methods to interact with the database.
put – Stores an item in the database. It will update an item if the key already exists. insert – Stores an item in the database but raises an error if the key already exists. (2x slower than put). get – Retrieves an item from the database by its key. fetch – Retrieves multiple items from the database based on the provided (optional) filters. delete – Deletes an item from the database. update – Updates an item in the database.
Data entry in Deta Base is JavaScript object called "document" like in many other NoSQL databases.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Deta is nice, but you need to specifically design your app around their platform, like their serverless containers (Micros) and NoSQL database (Base). So Django and Postgres from the original question are nonstarters.
I just want to give some clue for people who want a free alternative to Heroku, not just to host Django and Postgres.
Talking about Deta Micros, it just two lines of code, that is it.
The rest is the regular Python language and framework.
For Deta NoSQL database, there are only 6 methods to interact with the database.
Data entry in Deta Base is JavaScript object called "document" like in many other NoSQL databases.