This is a simple MERN Stack project. This project has a backend api running on ExpressJS, NodeJS framework. Frontend is React using Redux for state management.
docker-compose build # Build Containers
docker-compose up # Start Containers
# or use one command like below
docker-compose up --build
For testing the services, the API service and client service follow the steps defined below. To use tests your system should have MongoDB installed. After installing MongoDB add the port to the configuration file in server/config/.env.test
, under the MONGODB_HOST
.
cd server # go to server directory
npm run build && npm run test:unit