Goalation is a productivity app helps you to stick to your goals by betting money on it. If you miss your target, the money will be donated to a social purpose of your choice.
MERN Stack
You can build and run with:
docker-compose up -d --build; docker-compose logs -f
docker will expose the service app over localhost:3000
and socket over localhost:8080
and create a mongo instance for user data persistence.
Build the image
docker build -t node_skill_test -f ./server/Dockerfile .
Install via npm:
cd server
npm install
- Node v10.19.0 >=
server:
Automatically installed when using npm install.client:
Automatically installed when using npm install.
Docker Windows:
docker run -d --rm --name node_skill_test -p 8080:8080 -p 3000:3000 -v ${PWD}/server:/app node_skill_test
Docker on Linux/Mac:
docker run -dit --rm --name node_skill_test -p 8080:8080 -p 3000:3000 -v ./server:/app node_skill_test
###Docker compose
docker-compose up
Local:
cd server
npm run start
Local Development:
cd server
npm install --only=dev
npm run dev:lint
MIT