From the main directory after installing all the node_modules
(yarn install
) in both client
and server
, run
yarn dev
Run on express server
cd server/
yarn install
node index.js
Go to localhost:4000
Then on a different console.
cd client/
yarn install
yarn run build
serve build
Go to localhost:3000
Either use .env
and dotenv
Or
Add a keys.js
file under config
with the same keys as in .env