Express/React demo with Jasmine/Zombie end-to-end tests
Clone and install dependencies:
npm install
Refer to .example.env
. A secret key needs to be set for JWT. Either cp .example.env .env
or manually create .env
and set your own secret value:
SECRET_KEY=s0m3sup3rS3CreTKey
Start a MongoDB development server:
docker run --name dev-mongo -p 27017:27017 -d mongo
Once created, you can start and stop the container like this:
docker stop dev-mongo
docker start dev-mongo
npm test
To start a Dockerized Mongo container, see above...
Seed database:
node db/seed.js
Run server:
npm start