Skip to content

Aper backend is a small API coded for the Banque Portonal Hackathon.

License

Notifications You must be signed in to change notification settings

codiumsa/aper-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aper Backend

Aper backend is a small API coded for the Banque Portonal Hackathon.

Installation

Make sure you have Python 3.x and Pipenv installed. Clone this project and, from the cloned directory, run the commands below to get started.

You will need:

Start by configuring your own local instance of the project:

mkdir instance
touch instance/config.py

Be sure to set the following parameters in the file you just created:

  • ENV: set it to 'development' in your local machine
  • SECRET_KEY: so your app does not get hacked (too easily)
  • GOOGLE_CLIENT_ID: what you just got from google
  • SQLALCHEMY_DATABASE_URI: URI to your database

Having done that, we can install the app:

pipenv install
pipenv shell
export FLASK_APP=aper
flask db upgrade
python run.py

About

Aper backend is a small API coded for the Banque Portonal Hackathon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published