backend app server for the tally mobile app
- Start up mongodb (see database set up) either via brew services run or alias'ed command to start mongodb-community
- Check that the node version is v18.16.1 via
node -v
and check that the npm version is v9.5.1 vianpm -v
. To install node v18.16.1:nvm install 18.16.1
. - Run
npm run start-dev
- Install homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install mongodb:
brew install mongodb-community
- Start mongodb via:
brew services run mongodb-community
or stop viabrew services stop mongodb-community
.
- Install MongoDB CE v5.0.6.
- To install MongoDB on WSL, follow these instructions.
- To run a Mongo instance:
sudo mongod --dbpath ~/data/db
.