Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Backend #27

Closed
sortedcord opened this issue Nov 17, 2021 · 7 comments
Closed

Web Backend #27

sortedcord opened this issue Nov 17, 2021 · 7 comments
Assignees
Labels
Area: Backend Issues related to flas/db

Comments

@sortedcord
Copy link
Member

Discussed in https://github.com/BVNCodeTech/codetech-web/discussions/26

Originally posted by sortedcord November 17, 2021
The front-end isn't complete, but I was thinking of hooking it up with some sort of back-end. Preferable with django or flask as per what @Pancham1603 says Cuz PHP sucks anyways . The site is more or less fine without it, but I think this could make the work of maintaining and updating it a lot more easier....

@sortedcord sortedcord added the help wanted Extra attention is needed label Nov 17, 2021
@Pancham1603
Copy link
Member

can make placeholder text everywhere being fetched from a db. updating stuff will be easier then

@Pancham1603
Copy link
Member

having a backend is not an issue but hosting is, i guess that was the primary reason to make a new static website

@sortedcord
Copy link
Member Author

I found the best hosting service for this, and it's free https://www.pythonanywhere.com/

Its got reasonable CPU, disk limits which is more than enough. Basically its meant for hosting flask/django webapps

@Pancham1603
Copy link
Member

I am in then, if we are playing around so much so let the index.html just have {{ html|safe }} and fetch all the html content from a database so that editing the website content gets lot more easier. Adding blog posts, projects etc. ez

@sortedcord
Copy link
Member Author

That's one thing, but I like the front-end of the website being separated from the back-end/db. It is usually not such a good practice to do that, but if that makes things more easy then that's fine as well. Creating a back-end project for this repo then.

@sortedcord sortedcord added Area: Backend Issues related to flas/db and removed help wanted Extra attention is needed labels Nov 20, 2021
@sortedcord sortedcord pinned this issue Nov 20, 2021
@sortedcord sortedcord changed the title Create a Backend? Web Backend Nov 20, 2021
@Pancham1603 Pancham1603 reopened this Nov 20, 2021
@Pancham1603
Copy link
Member

Pancham1603 commented Nov 20, 2021

we still need a hosting cuz pythonanywhere.com has a cpu limit of 100seconds/day and doesn't allow custom domains and there's a lot more, ig we'll have to stick to the front-end

@sortedcord
Copy link
Member Author

This will be a static site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Backend Issues related to flas/db
Projects
None yet
Development

No branches or pull requests

3 participants