Skip to content

Conversation

@olibre
Copy link

@olibre olibre commented Sep 17, 2019

Lot's of changes, but original spirit is kept 😄

  • Reorganize source code, directories, files, renaming...
  • Change route /user -> /users
  • Replace requirements.txt by Pipfile (pip -> pipenv)
  • Update README.md

@cosmic-byte
Copy link
Owner

Lot's of changes, but original spirit is kept

  • Reorganize source code, directories, files, renaming...
  • Change route /user -> /users
  • Replace requirements.txt by Pipfile (pip -> pipenv)
  • Update README.md

Thank you for the PR @olibre. I will review this asap :)

@matthewliuswims
Copy link

matthewliuswims commented Oct 5, 2019

I think @olibre made some nice changes (e.g. using pipenv). @cosmic-byte would you be updating https://www.freecodecamp.org/news/structuring-a-flask-restplus-web-service-for-production-builds-c2ec676de563/ to reflect any new changes? that article has some really good SEO and I personally have been finding it really helpful.

Copy link

@matthewliuswims matthewliuswims left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just have a couple of small comments. I just started tinkering around with python web development - so IDK enough to approve. But looks like it's great work👍

To run application: make run

To run all commands at once : make all
Motivation
Copy link

@matthewliuswims matthewliuswims Oct 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

potentially move this Motivation section from the README and put into the PR comment or commit description? I don't think new-timers would want this context explanation (since they'd have none). Same for "this is a fork..." and "the current example source code" - don't think you'd want these to be actually merged

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I agree with all your remarks.
I will take time to improve/fix my PR in the coming week…

import os

# uncomment the line below for postgres database url from environment variable
# uncomment the line below for postgres data url from environment variable

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: why the change? since below it says os.environ['DATABASE_URL']

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this is a mistake.
I prefer to keep postgres database.
I do not know why I did that change. 😳

@cosmic-byte
Copy link
Owner

cosmic-byte commented Jun 10, 2020

Thank you for your PR. Please if you can make a more granular pull request that improves what we have and does not defeat the purpose of this boilerplate, it would be much appreciated.

@olibre
Copy link
Author

olibre commented Jun 21, 2020

Sorry I do not use Flask since Oct. 2019, I have switched to FastAPI and now, I am currently working on other programming languages. Thank you for maintaining your awesome open source repository 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants