You will need
- Node.js V8.6.0+
- Yarn globally installed on your system. To install yarn run
npm install -g yarncommand
- Add
.envfile to the root of the project. The file is listed in.gitignoreand contains sensitive information that should never be checked to git. Add to the file the followong environmental variables:MONGO_HOST,MONGO_USER,MONGO_PASSWORD- for making a connection with yourmongodbSESSION_SECRET- secret used for JWT generation and validation - Run
yarn installto install dependencies - Set up your MongoDB to have a database with name "lexis" and a user
with readWrite permissions for this database. Run your MongoDB with
mongodcommand. - Compile the project by running
yarn compilecommand - Start the project by running
yarn startcommand
To run the tests use yarn test command