Skip to content

RishikaGhosh/Trip-ecstatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Trip-ecstatic

A dynamic travel website that can be used to browse adventures and make reservations.

Inspiration

Wanted to create dynamically rendered web-pages with a functional backend. Fetching data from the back-end and displaying it on the frontend. Also wanted to learn about unit testing to test the functionalities.

Tasks I have completed

This project is more focused on the front-end, with heavy use of REST APIs, POST and GET methods using fetch etc. Nonetheless it has a working backend using node.js and express and unit tests as well.

  • Created web pages using HTML and CSS and made them dynamic using JavaScript
  • Improved UX with multi-select filters, image carousels
  • Implemented conditional rendering of page elements
  • Utilized localStorage to persist user preferences at client-side
  • Used JQuery to facilitate the reservation form submission
  • Deployed the website using Netlify and Heroku

Deployment

  • The frontend part of the application is deployed using Netlify.
  • The backend is deployed using Heroku.

Link: https://tripecstatic.netlify.app/

Unit Tests

  • Clone the project
  • Navigate to project folder
  • Navigate to /frontend/_ _ tests _ _
  • Finally, from the terminal run the tests using: npm test

The tests are made using JEST framework.

After running, the terminal should show something like this:

Architecture

Visuals

Landing Page

image image

Adventures Page

Without Filters

image

With Filters

image

Adventure Details Page

Before reservation

image

After reservation

image

Reservations Page

image

Tech Stack

JavaScript jQuery CSS3 Bootstrap HTML5 Node.js Express Git Jest