You will need docker installed on your machine to make this app up and running.
-
Start a
mysql
db container by running this command in your terminal -docker run -p 3307:3306 --name mysql -e MYSQL_ROOT_PASSWORD=root -d mysql:5.7
-
Enter the repository folder, then type the command -
docker-compose up
in the terminal. This will build mysql container and start the container with the DB initialized. -
Then enter
/server
and runnpm i
to install node dependencies. Once this is done, typenpm run dev
. Your server will now start up and listen on the port3001
. -
Enter
/client
folder and runyarn
to install dependencies. Then start the app with commandyarn start