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

#161413448 Implement models for the api endpints #15

Merged
merged 20 commits into from
Oct 27, 2018

Conversation

mugoh
Copy link
Owner

@mugoh mugoh commented Oct 23, 2018

What does this PR do?
Change the organisation of the development files by separating the models and views.

Description of Task to be completed?
Have all resource models in separately named files
Have all views for resources in different files, each on it's own
Hold the views_files in a view folder
Th model files in another

How should this be manually tested?
Clone the repo and cd into it.
Run the flask app and test GET and POST endpoints on the paths below:
'stman/api/v1.0/sales'
'stman/api/v1.0/products'

What are the relevant pivotal tracker stories?

#161413576
#161413600
#161414982
#161414536

@coveralls
Copy link

coveralls commented Oct 23, 2018

Pull Request Test Coverage Report for Build 72

  • 0 of 16 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-10.5%) to 85.714%

Changes Missing Coverage Covered Lines Changed/Added Lines %
app/api/init.py 0 3 0.0%
app/api/app.py 0 13 0.0%
Totals Coverage Status
Change from base Build 57: -10.5%
Covered Lines: 132
Relevant Lines: 154

💛 - Coveralls

@mugoh mugoh merged commit 2474423 into development Oct 27, 2018
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.

None yet

2 participants