Skip to content

farhan2742/Trips-Organizer-a-trips-planner-app

Repository files navigation

Trips-Organizer-a-trips-planner-app

This is a web app that let you plan your future trips effectively.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Node and npm manager
  • Geonames API developer account
  • Weatherbit API developer account
  • Pixabay API developer account
  • mongoLab developer account

You need node and npm installed on your system to be able to run and build this project.

Installation

In order to install and run this project follow the below steps

  • Go to Geonames Website and register as a developer for free.
  • Go to Weatherbit Website and register as a developer for free.
  • Go to Pixabay and register as a developer for free.
  • Go to mongoLab and register as a developer for free.
  • Go to Node Website and install node server / npm manager on your system.
  • Fork or clone this repository and download it to your system.
  • Go to downloaded repository and create a file named ".env".
  • Edit ".env" with your appID and apiKeys optained from API Website and mongoLab user and password in the following format
GEONAMES_API_ID=***********************
WEATHERBIT_API_KEY=********************
PIXABAY_API_KEY=***********************
DB_USERNAME =***********************
DB_PASSWORD =***********************
PASSPORT_SECRET =***********************
PORT=3000
IP=localhost
  • Run following command on terminal/cmd/shell in the project folder
npm install

Run project in production mode

To start the webpack dev server at port 8080

  npm run build-dev

Run project in production mode

Generate the dist files and then start server at port 3000

  npm run build-prod
  npm start

Testing

Testing is done with Jest. To run test, use the command

  npm run test

Built With

Deployed on

Authors

About

This is a web app that let you plan your future trips effectively.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published