Yenum api implementation built with Node, Express Typescript and MongoDb
- NodeJS - Runtime Environment
- Express - A Fast, unopinionated, minimalist web framework for Node.js
- MongoDb - A document database used to build highly available and scalable internet applications.
- Mongoose - A Node. js-based Object Data Modeling (ODM) library for MongoDB
- Npm - Dependency Manager
- git clone Yenum Api
- Run
npm install
to install packages. - Docker or a local mongodb installation is required.
- There is
docker-compose.yml
file for starting Docker, rundocker-compose up
to start the container. - Copy .env.example file, create a .env file if not created and edit database credentials there.
- Run
npm run start
to run the application in production.- - Run
npm run dev
to run the application in development mode.
This is the basic flow of the application.
- View all Games.
- can create a Game.
- can update a Game.
- can delete a Game.
- Get The Daily Rosary Prayer Linked with Mystery for current day (in development)
- Get The Holy Rosary Mysteries (in development)
- Get The Catholic Prayers (in development)
- Run
npm run test
to run the unit tests - Run
npm run test:e2e
to run the end to end tests (A '.env.testing' file is included in the project to connect to the in memory mongo server for tests).
- Please click here to access the Postman Collection
This project is hosted on heroku
- Please click here to access the hosted application
- Caching is not implemented
- Pagination is not implemented
- Testing is not implemented