Skip to content

Basic travel app. Uses object oriented programming mostly. With the factory pattern.

License

Notifications You must be signed in to change notification settings

peterokwara/travel-app

Repository files navigation

Travel App

Basic Travel App
Part of the Udacity Frontend Nanodegree


Table of contents

About the website

Basic travel app.

Uses object oriented programming mostly. With the factory pattern. Some advantages:

  • Don't have to pass configs every time someone wants to create a class.
  • Avoids fixed implementation when using classes only. A given class can behave different based on what is passed into it.

Technical

Technology Used

This project uses: - HTML - CSS - SCSS - JS - NodeJS - Webpack - Babel

Running the project

A .env file needs to be created at the root of the project with the following text

  • GEONAMES_USERNAME obtained from geonames.
  • PIXABAY_API_KEY obtained from pixabay.
  • WEATHERBIT_API_KEY obtained from weatherbit.

The npm packages need to be installed by running

npm install

Once the installation process has been done, to run the project, you can run the backend server in developer mode by running:

npm run serve-dev

To run the server in production mode, run:

npm run serve-prod

To run the fronted in developer mode, you can simply run:

npm run build-dev

To run the frontend in production mode, you can simply run

npm run build-prod

To run both the frontend and backend in production mode, you can simply run

npm run start

To run tests, you can simply run

npm run test

Once the project is running, the website (frontend) can be accessed from localhost:8080 by default. The api can be accessed from localhost:3000

CONTRIBUTING

I would/ We'd love to have your help in making {this app (replace with name of your project)} better. The project is still very incomplete, but if there's an issue you'd like to see addressed sooner rather than later, let me(/us) know.

Before you contribute though read the contributing guide here: COntributing.md

For any concerns, please open an issue, or JUST, fork the project and send a pull request.


License

Versions

  • Version 1.0 DATE 24/11/2021

Contact Information

If you have found any bugs, or have any feedback or questions and or want to post a feature request please use the Issuetracker to report them.


Open Source Love


license

About

Basic travel app. Uses object oriented programming mostly. With the factory pattern.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published