Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 7 days ago
JSON representation

A boilerplate application for building REST API's in Flask using Blueprints

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