Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 2.07 KB

README.md

File metadata and controls

70 lines (53 loc) · 2.07 KB

Guess the Capital

Screenshot

Table of Contents

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

Description

This web application allows users to guess the capital cities of various countries. It is built using EJS for templating, JavaScript for both client and server-side logic, and PostgreSQL for database management.

Features

  • Dynamic Templating: Uses EJS to create reusable templates and dynamic content.
  • Interactive Frontend: Implements JavaScript for enhanced user interactions and responsive UI.
  • Database Integration: Connects to a PostgreSQL database for storing and retrieving application data.
  • 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/guess-the-capital 
    
  2. Install Dependencies:

    npm install express body-parser pg
    
  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.