This repository contains the Misakey's product demonstrations.
src/clientcontains the frontend react appsrc/servercontains the backend express server
The dev env doesn't not work with Docker. So you should run manually the two dev servers
Go on src/server
Copy the .env.sample to .env and complete it with your local clients data.
Then run yarn install and yarn start. It should run dev server on port 5000
Go on src/client
Edit the public/env.js file with your local clients data.
Then run yarn install and yarn start. It should run dev server on port 3000 + open your brower
Copy the .env.server.sample to .env.server and complete it.
Copy the .env.client.sample to .env.client and complete it.
Then docker-compose up and you'll have a production server running for server and client.