/moon-info

Primary LanguageTypeScript

Today's Moon

This is a simple web-app that shows the current phase of the moon.

Description

Built from the Nest framework TypeScript starter repository.

API used

The moon data for this app is sourced from The Moon Phase API from RapidAPI's library.

Live Deployment

The latest main branch of this application is deployed by Railway to https://moon-info-production.up.railway.app/.

Installation

npm install

Running the app

Development

During development, run the following commands in separate terminals:

# instruct tailwind to watch files for class changes during development
npm run start:css
npm start

Production

To run the app in production mode, run the following commands:

npm run build
npm run start:prod

Test

# unit tests
npm test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

Favicons

Favicons were generated using Favicon.io.

PWA

This app is a fully developed PWA. It was developed following the documentation on pwabuilder (founded by Microsoft).