Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.45 KB

README.md

File metadata and controls

46 lines (38 loc) · 1.45 KB

MEVN tasks application

Simple application built using Mongo, Express, Vue, Node (MEVN) stack.

How to run:

the easiest way to run the app is to use docker-compose:

docker-compose build
docker-compose up

build command will create three docker images: mongo, client and server. up command will run them.

IMPORTANT: server image will clear existing data from the configured Mongo collection (mevn-tasks-app by default) and will seed the test data on every run.

API endpoints:

To run application manually you can separatelly run client and server with:

npm start

Create test data:

if you use docker-compose to run the app, test data will be created automatically on every run. If you run server manually, to create test data use next commands:

cd server
npm run seed

Test data:

By default one user with three tasks will be created. User credentials:

email: [email protected]
password: abcABC123

To run server tests, go to the server folder and execute standard npm test command:

npm test