An express.js REST API that is used to serve the Tax-E Android App. Handles User Authentication, Bookings and Company Management.
Installing / Getting Started
Firstly, rename 'config.sample.json' to 'config.json', and input necessary values (see configuration). Then, in order to generate SSL certificates, navigate to ./scripts and execute the following:
Once all configuration is handled, simply run the following npm script. It will build, and spin up a docker container for both the database and the API.
npm run-script debug
Project uses Semantic Versioning 2.0.0
If using environment variables, set MONGO_URI to the connection URI of your mongodb database. Set JWT_EXPIRY to the amount of time (in seconds) before the jwt token expires. Set JWT_SECRET to your jwt secret key.
If using a config file, rename 'config.sample.json' to 'config.json', then input necessary values.
Run all chai tests in mocha environment using the following command