- Original repository can be found at search4ex@bitbucket
- Bitbucket Pipelines
- Bitbucket Deployments
- For Heroku App Logs Run in terminal:
heroku logs -n 200 -a search4ex
Demonstration of Requirements understanding, proposing a solution and implementation by using the latest tools and techniques. The code is based on Google Android SDK.
- This app is built as assignment for searchmetrics.
- Adds different libs to enhance the application quality and performance.
- Using SWAGGER.IO for documentation and as a working REST-API client
- CI/CD Demonstration
- Version 1.0.0
- Distributes the whole development into Issues
- Go through the Bitbucket Issues Page
- A: Open doc page in the browser
- B: Check API's
- C: User can set the CRON frequency from a given set of values
- D: User can check the latest exchange rate of Bitcoin against US Dollar
- J: It will update the rate into database after a set amount of time by using cron-job
To set-up the project locally you need to clone this repo, from master or develop branch or some latest TAG
Please sync and resolve dependencies by using
npm install
Set environment variables:
cp .env.example .env
npm run dev- You may access the app on
http://localhost:3000
docker build -t search4ex .
- Run
docker run -d -p 5000:5000 search4ex - You may access the running docker app on
http://localhost:5000/api-docs
- Run
docker kill {container-id}
- Jest
- Mongoose
- MockgooseReactiveX/RxAndroid)
- Winston
- Supertest
- joi
- swagger-jsdoc
- swagger-ui-express
- node-cron
Environment Variableto hold the index of value for the cron-job frequency
- Using M-Lab for live storage
- No auth is used for this version, thouhg we have a structure to implement along with swagger documentation
- Pipelines: Bitbicket-pipelines
- Build-Packaging: Docker
- Deployment: Heroku
- API Monitoring: assertible
JestIstanbol CoverageSonarCloud
The project can be distributed using a docker image or as git-repo.
- Access the App from https://search4ex.herokuapp.com/api-docs/
- Access the code analysis report: SonarCloud
- Heroku App Logs: Run
heroku logs -n 200 -a search4ex
- M-Lab is a free service up to 500mb data volume.
- Using Bitbucket Free resources for pipeline executions.
- Using Heroku free tier, all the apps in free tiers as required to shut-down at least 6 hours a day.
- I am using assertible to keep the app alive on Heroko.
- Forks are always appreciated


