Skip to content

anwarrali/TravelApp

Repository files navigation

Travel App

Description

This project is a travel planning tool that allows users to input trip details (e.g., destination, date, activities) and receive relevant trip information, such as weather forecasts and trip status. The project is built using HTML, CSS (Sass), JavaScript, Webpack, and Express.


Dependencies

  • Node.js - JavaScript runtime version : (v22.12.0)
  • Express - Web framework for Node.js
  • Webpack - Module bundler for JavaScript and assets
  • Babel - JavaScript compiler for backward compatibility
  • Sass - CSS preprocessor for styling
  • Jest - JavaScript testing framework

Available Scripts

  • npm run build: This command bundles and optimizes your project for production using Webpack.

    npm run build
  • npm run dev: This command runs both the Node.js server and the Webpack development server concurrently.

    npm run start
  • npm run test: This command runs Jest unit tests with watch mode enabled to verify that your code is working as expected.

    npm run test
  • npm run start: This command run express server

    npm run dev

Steps to Run the Project

1. Install Dependencies

Install all the required dependencies by running:

npm install

2. Start the Development Server

To start the Webpack development server with live reloading, run:

npm run dev

3. Run the Application

After building the application, run the Node.js server and Webpack development server concurrently with:

npm run start

4. Run Unit Tests

To verify that your code is functioning correctly, run the unit tests with:

npm run test

5. Build the Project for Production

To bundle and optimize the project for production, run:

npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published