Mentorship-backend: A blog talking and/or teaching about Flask-SQAlchemy and how the Mentorship Backend uses it with example user models.

Created on 30 Aug 2020  路  34Comments  路  Source: anitab-org/mentorship-backend

Description
As a contributor, I need you to come up with a blog or a file in .md teaching about Flask-SQAlchemy and how it is used in this project. An explanatory report will be appreciated not only teaching from the basics but also describing it's full usage here.

Acceptance Criteria

  • [ ] Update required

  • [ ] Submit as a markdown file

Definition of Done

  • [ ] All of the required items are completed.

  • [ ] Approval by 2 mentors.

Estimation
4 to 5 hours

Note
This issue is can be contributed to only from 1st September when Open Source Hack starts.

OutreacResearch

All 34 comments

@yashasvimisra2798 I would like to work on this issue as an OSH participant

I would like to work on this issue. Can you assign me this issue?

I am interested to work on this issue. Could you please assign it to me

Since it was on first come first serve basis, @ashwinijha6 has been assigned the issue

@ashwinijha6 any updates on your work?

I want to work on this issue please assign it to me for osh.

@ashwinijha6 any updates?

Sorry @yashasvimisra2798 I was working on an issue for the vms project could u give me some time pls?

@ashwinijha6 how much time do you require to complete this issue?

Atleast a day @yashasvimisra2798

Ok @ashwinijha6

Thanku @yashasvimisra2798

can i work on issue,if not taken can you please assign it to me.

@yashasvimisra2798 should I make a .md file or use medium for blog writing ?

.md file @ashwinijha6

@ashwinijha6 how's the PR going?

@vj-codes working on it

.md file @ashwinijha6

@yashasvimisra2798 I had some doubts related to this could we discuss on zulip?

.md file @ashwinijha6

@yashasvimisra2798 I had some doubts related to this could we discuss on zulip?

I see u are not subscribed to the #mentorship-system stream

Yes @ashwinijha6 I'll subscribe to it, however, you can tell me what problem you have here itself. You just have to see how Flask-SQLAlchemy has been used here and then write an article out of it.

I am willing to work and solve this issue. Please assign me the same

Yes @ashwinijha6 I'll subscribe to it, however, you can tell me what problem you have here itself. You just have to see how Flask-SQLAlchemy has been used here and then write an article out of it.

Actually before making a pull request I just wanted to know certain things
This will be the Structure of the .md file

  1. Flask-SQLalchemy
  2. SqlAlchemy
  3. Requirements
  4. Create a minimal application
  5. Usage in mentorship-backend
    Should I mention the API part?
    Is this ok? Should I also explain the installation of flask & flask-sqlalchemy separately ?
    Or should pip install -r requirements.txt be enough?

@ashwinijha6 you can carry on with this. I think it would be better if you kind of give a brief introduction of flask-sqlalchemy and give the link of some article where the installation is explained. Then you can carry on with the rest of the things.

@yashasvimisra2798 I was thinking of including this code in the md file & explaining it but I'm getting an error can u help me out with it

Code
1

Error (404 The requested url was not found on the server)
2

I guess it's an error with sqlite:///tmp/test.db what do u think?

I guess it's an error with sqlite:///tmp/test.db what do u think?

I got the error it must be //// instead of ///

@yashasvimisra2798 should I also mention the different sqlalchemy database uri being used for the different configurations?

Just, write briefly about them

Just, write briefly about them

ok

application = create_app(get_env_config()) @yashasvimisra2798 what does this mean this is for the flask app configuration right?

Yes

@yashasvimisra2798 I have added the documentation #874 pls review it but my previous commits to mentorship-backend related to some other issue also got commited along with it. What can be done?

@yashasvimisra2798 actually I checked out a branch from the previous branch I was working on

@SanketDG & @yashasvimisra2798 I have created another pull request #894 for the issue #786
I have closed the previous pull request since I messed up with the branches
I have made the changes suggested by @SanketDG.
Pls review my pull request.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isabelcosta picture isabelcosta  路  47Comments

isabelcosta picture isabelcosta  路  26Comments

gaurivn picture gaurivn  路  19Comments

faznan3nazer picture faznan3nazer  路  38Comments

isabelcosta picture isabelcosta  路  25Comments