Skip to content

DanBaDo/StarWarsAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

You will need Python3 installed in your system.

Configuration

Review and modify configurations in ./.env if you like.

Install dependencies into virtual environment (Linux/Mac version)

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Create database

Start by removing existent database (if any).

rm sqlite/star_wars.db
rm migrations -rf

Create the new database.

flask db init
flask db migrate
flask db upgrade

Run

flask run

Testing

You can find a Insomnia file in '''insomnia/insomnia.json''' for testing the API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published