Git Product home page Git Product logo

exchange-monitor's Introduction

Exchange Monitor

Exchange Monitor is a web application for monitoring the USD to UAH exchange rate. The application also allows users to subscribe to rate updates via email.

Table of Contents

Prerequisites

  1. Node.js: Ensure you have Node.js installed. You can download it from nodejs.org.

  2. MongoDB: Make sure MongoDB is installed and running on your local machine or accessible via a URI. You can download MongoDB from mongodb.com.

  3. Docker (optional): If you prefer using Docker, ensure Docker and Docker Compose are installed. You can download Docker from docker.com.

Installation

  1. Clone the repository: git clone https://github.com/taniaomelko/exchange-monitor.git cd exchange-monitor

  2. Install dependencies: npm install

Configuration

  1. Use a .env.example file to create .env in the root directory of the project. Replace the placeholders for email and password with your actual values: EMAIL: Replace [email protected] with your actual email address. EMAIL_PASSWORD: Replace your-email-password with your actual email password.

Usage

  1. Start MongoDB.

  2. Start the application in development mode: npm run dev

  3. Start the application in production mode: npm start

Database Migrations

Migrations are automatically applied when the server starts. This ensures that your database schema is always up to date.

Docker

If you prefer to use Docker for running the application, follow these steps:

  1. Ensure Docker and Docker Compose are installed on your machine. You can download Docker from docker.com.

  2. Build the Docker containers: docker-compose build

  3. Start the Docker containers: docker-compose up

  4. Stop the Docker containers: docker-compose down

Using Docker simplifies the setup process by containerizing the application and its dependencies, making it easier to manage and deploy.

exchange-monitor's People

Contributors

taniaomelko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.