Skip to content

This web application allows users to track the countries they have visited. Users can add country names, and the visited countries will be visualized on a map using Canvas. The app is built using HTML, CSS, JavaScript, EJS for templating, and PostgreSQL for database management.

License

Notifications You must be signed in to change notification settings

AkashKobal/travel-tracker

Repository files navigation

Travel Tracker Web App

Screenshot

Description

This web application allows users to track the countries they have visited. Users can add country names, and the visited countries will be visualized on a map using Canvas. The app is built using HTML, CSS, JavaScript, EJS for templating, and PostgreSQL for database management.

Table of Contents

  1. Description
  2. Features
  3. Prerequisites
  4. Setup Instructions
  5. Usage
  6. Testing
  7. Contributions
  8. License
  9. Contact Information

Features

  • Dynamic Templating: Uses EJS to create reusable templates and dynamic content.
  • Interactive Frontend: Implements JavaScript for enhanced user interactions and a responsive UI.
  • Database Integration: Connects to a PostgreSQL database for storing and retrieving user data.
  • Canvas Visualization: Utilizes Canvas for graphical representation of visited countries.
  • Express Framework: Utilizes the Express.js framework for efficient routing and middleware management.

Prerequisites

  • Node.js
  • PostgreSQL
  • npm (Node Package Manager)

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/AkashKobal/travel-tracker
    
  2. Install Dependencies:

    npm install express body-parser pg ejs
    
  3. Configure Database:

    Download CSV file
    Set up your PostgreSQL database and update the connection settings in the .env file.

  4. Run the Application:

    node index.js
    

Usage

  • Development:
    npm run dev
    
  • Production:
    npm start
    

Testing

  • To run tests:
    npm test
    

Contributions

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License.

Contact Information

For further questions or support, please contact [akashkobal02@gmail.com] or open an issue on this repository.

About

This web application allows users to track the countries they have visited. Users can add country names, and the visited countries will be visualized on a map using Canvas. The app is built using HTML, CSS, JavaScript, EJS for templating, and PostgreSQL for database management.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published