Server completely being rewritten with microservices in mind.
So far there is a trello service and a users service (that will be used for authentication).
Make sure you have docker installed on your machine and are inside madClones folder.
- cd trello-microservice
- docker build -t madmous/trellomicroservice .
- cd ../users-microservice
- docker build -t madmous/usersmicroservice .
- cd ..
- mysql.server stop (command tested on mac. Since I am mapping the port 3306 of the mysql docker image, you need to make sure your local mysql is not running already on that same port).
- docker-compose up
Your server is up and running.
Most of the times I deploy my server without using docker. I do not usually need to deploy the entire backend since working with 1 microservice is usually more than enough.
- mongod
- mongo
- cd trello-microservice
- yarn start:dev
- mysql.server start (tested on mac)
- python src/index.py
Enjoy !!