This is a quiz application designed to test and enhance your knowledge of world capitals. It uses Node.js and Express.js on the backend, EJS (Embedded JavaScript) and CSS for frontend, and PostgreSQL for the database.
- Clone the repository:
git clone https://github.com/ManishaBose/Capitals_Quiz.git
- Install the dependencies:
npm install
- Create a .env file in the rool of the project and add the following lines:
DATABASE_URL="postgresql://readonly_user1:zGZpNh9vOSb5@ep-delicate-queen-a1gxmygl.ap-southeast-1.aws.neon.tech/world?sslmode=require"
PORT="3000"
- Run the application:
node index.js
Visit http://localhost:3000 in your browser to start the quiz.