Skip to content

Latest commit

Β 

History

History
58 lines (39 loc) Β· 821 Bytes

File metadata and controls

58 lines (39 loc) Β· 821 Bytes

Feeling API

Internal REST API for Feeling

πŸ“š Documentation

How To Use

  1. Make sure you have Docker running. To start the database:
npm run start-database
  1. Install JavaScript libraries:
npm install -g serverless@1.52.0
npm install
  1. Install Python libraries:

On Unix:

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

On Windows:

python3 -m venv venv
.\venv\scripts\activate.bat
pip install -r requirements.txt
  1. Generate the database tables:
python -m src.setup --generate-data

Note: --generate-data prepopulates the database with mock data.

  1. To run the functions locally:
npm run develop
  1. To stop the database when you're finished:
npm run stop-database