From the root of the project run yarn
to install dependencies for all projects
All components built in isolation using react-native, transpiled for the web with react-native-web.
yarn components:storybook
to develop the components buy themselves
yarn components:build
to create the package that so it can be imported and used in the FE
yarn components:watch
if you need to adjust and tweak the components as they are being used in the FE
Import the components to use from @packages/components
Express server with a MongoDB backend, running together in a docker orchestration. (Needs Docker installed to run)
docker-compose up
to build and launch the backend.
docker pull mongo
docker run
-d
--name reddit_clone_dev
-p 27017:27017
-e MONGO_INITDB_ROOT_username=mongo_dev
-e MONGO_INITDB_ROOT_PASSWORD=password
mongo
docker container ls
docker exec -it reddit_clone_dev bash
mongodb://mongo_dev:password@0.0.0.0:27017/