Skip to content

akai-keisanki/myAPIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myAPIs

A generic repository for general API tests with Flask.

Requirements

  • Python 3.12
  • PIP 25.1.1

Installation

  1. Clone the repository:
git clone https://github.com/akai-keisanki/myAPIs.git
  1. Start a python virtual environment:
python -m venv .venv
source ./.venv/bin/activate
  1. Copy the environment variable examples and edit them:
cp .env.example .env
sed -i "s/yoursecretkey/$(python3 -c 'import secrets; print(secrets.token_hex())')/" .env
  1. Configure the database:
python -m flask db init
python -m flask db migrate
python -m flask db upgrade
  1. Run
python -m flask run

About

A generic repository for general API tests with Flask.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages