/Python-React-Project

Studying initial steps to better configurations and best practices of python and React

Primary LanguagePython

Python-React-Project

Studying initial steps to better configurations and best practices of python and React

NEXT STEP

Transform this simple application into something usefull

Objectives

  • Use a real API, in my case, NYT API, the most popular one
  • Create an interesting react UI
  • Add docker into my application, initially for DB
  • Transform it into a microservice archtecture
  • Tests, tests, tests
  • Scale it up ready
  • cloud deployment

API

API url: https://developer.nytimes.com/docs/most-popular-product/1/overview

React UI

Docker with PostgresQL

Microservice Archtecture

Testing setup

scaling it up

Deployment into production

HOW TO RUN IT

I have 2 different folders, one for the backend and one for the frontend.\

I have created two docker containers,one for each directory.\

BACK-END

Open your

Go to the backend directory, where docker-compose.yml is at.\

And then run the following command:

#!/bin/bash
docker-compose up

After that, you should see your docker service starting up.\

To stop service:

#!/bin/bash
docker-compose stop

FRONT-END