Skip to content

Squad002/restaurant-service

Repository files navigation

Build Status Coverage Status

GoOutSafe - Restaurant microservice

Local

# Install Dependencies
pip install -r requirements/dev.txt

# Deploy
flask deploy

# Run 
export FLASK_APP="app.py"
export FLASK_ENV=development
flask run

# Start Elasticsearch
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.10.0

Docker Image

docker build -t restaurant-service:latest . 
docker run -p 5000:5000 restaurant-service 

Tests with coverage

Inside restaurant-service run (it will automatically use the configuration in pyproject.toml):

pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published