-
node
v14+,npm
v8+ -
yarn
installed globally -
mongodb
instance with suitable table (set via config) and collection - for instance I've used thedocker
approach
docker run -d --name mongodb-test \
-p 27017:27017 \
-p 27018:27018 \
-e "MONGO_INITDB_ROOT_USERNAME=user1" \
-e "MONGO_INITDB_ROOT_PASSWORD=1234567" \
mongo
-
(Optional)
VSCode
with installedeslint
andprettier
plugins - to continue developing -
(Optional)
MongoDB Compass
is a neat tool to administrate and observemongodb
collections
-
Clone the
config.json.dist
file intoconfig.json
and replace it's contents according to your setup -
Install deps packages via
yarn install
-
Generate bundles with
yarn build
-
Create database (for example
fundraiseup-test
) withtracks
collection inside -
Start apps either with separate commands like
yarn server
andyarn tracker
- or via combinedyarn start
-
Open
server
app inside your browser typing theSERVER_PATH
url inside -
Test the
tracker
behaviour there -
(Optional) for development purposes there are several more commands:
yarn format
yarn lint
yarn server:dev
yarn tracker:dev