- Description
- Features
- Prerequisites
- Setup Instructions
- Usage
- Testing
- Contributions
- License
- Contact Information
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.
- 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.
- Node.js
- PostgreSQL
- npm (Node Package Manager)
-
Clone the Repository:
git clone https://github.com/AkashKobal/guess-the-capital
-
Install Dependencies:
npm install express body-parser pg
-
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.