Skip to content

Application developed in order to discover how old is your dog compared with a human age, as well other curiosities.

License

Notifications You must be signed in to change notification settings

ebarros29/howoldismydog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How old is my dog?

Application developed in order to discover how old is your dog compared with human age, as well other curiosities.

[Back-end]

Language: Python

Frameworks: Flask, Pymongo, Gunicorn

Web Server: NGINX

DB: MongoDB

[Front-end]

HTML5 + CSS + JavasScript

Enjoy it!

https://hoimd.hopto.org/

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

In order to run this app, you need just install Docker CE and Docker Compose.

For more information, see https://docs.docker.com/install/ and https://docs.docker.com/compose/install/.

Clone this repository:

git clone https://github.com/ebarros29/howoldismydog

Installing

A step by step series of examples that tell you how to get a development env running

Installing Docker CE and start Docker daemon

https://docs.docker.com/install/

Installing Docker Compose

https://docs.docker.com/compose/install/

Running the environment

docker-compose up -d

Running the tests

Simple tests to make sure that is everthing fine.

Break down into end to end tests

Checking if all containers are running. You should see 3 containers up, the first one refers to mongo (MongoDB), the second one to web-app (Python) and the third one to nginx (NGINX).

Remark: Mongo_seed runs only to add data files to MongoDB, afther that this goes down. Use below command in order to check containers status:

docker ps -a

You can check the logs of each container using the below command:

docker logs <container id>

Authors

Acknowledgments

  • I dedicate this work to all animal lovers, especially dogs lovers.

About

Application developed in order to discover how old is your dog compared with a human age, as well other curiosities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published