https://github.com/kirang89/flappi
A boilerplate application for building REST API's in Flask using Blueprints
https://github.com/kirang89/flappi
boilerplate-application flask python
Last synced: 2 months ago
JSON representation
A boilerplate application for building REST API's in Flask using Blueprints
- Host: GitHub
- URL: https://github.com/kirang89/flappi
- Owner: kirang89
- Created: 2014-04-24T22:21:02.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-24T22:21:44.000Z (about 12 years ago)
- Last Synced: 2026-04-01T10:09:15.865Z (3 months ago)
- Topics: boilerplate-application, flask, python
- Language: Python
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#flappi
##Overview
A boilerplate application for building a REST API in Flask, using Blueprints.
##Installing
* Create a new virtual environment:
```
virtualenv env
```
* Activate the environment:
```
source env/bin/activate
```
* Install project dependencies:
```
pip install -r requirements.txt
```
##Running the application
* Create the required databases and tables:
```
python manage.py create_db
```
* Start the server:
```
python manage.py run_dev_server
```
##Testing
* To run the tests, do:
```
nosetests tests/
```
* To run the tests with coverage, do:
```
nosetests tests/ --with-coverage --cover-package=api --cover-erase
```
##Contributing
* Fork it
* Create your feature branch ```git checkout -b my-new-feature```
* Commit your changes ```git commit -am 'Add some feature'```
* Push to the branch ```git push origin my-new-feature```
* Create new Pull Request