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.
- Description
- Features
- Prerequisites
- Setup Instructions
- Usage
- Testing
- Contributions
- License
- Contact Information
- 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.
- Node.js
- PostgreSQL
- npm (Node Package Manager)
-
Clone the Repository:
git clone https://github.com/AkashKobal/travel-tracker
-
Install Dependencies:
npm install express body-parser pg ejs
-
Configure Database:
Download CSV file
Set up your PostgreSQL database and update the connection settings in the .env file. -
Run the Application:
node index.js
- Development:
npm run dev
- Production:
npm start
- To run tests:
npm test
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License.
For further questions or support, please contact [akashkobal02@gmail.com] or open an issue on this repository.