Internal REST API for Feeling
๐ Documentation
- Make sure you have Docker running. To start the database:
npm run start-database
- Install JavaScript libraries:
npm install -g serverless@1.52.0
npm install
- 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
- Generate the database tables:
python -m src.setup --generate-data
Note: --generate-data
prepopulates the database with mock data.
- To run the functions locally:
npm run develop
- To stop the database when you're finished:
npm run stop-database