Skip to content

CornaSn/travel-genius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travel Genius 🗺️

Travel Genius is a full-stack web application designed to match travel-experts with users based on the desired country and interest areas. It allows users to find their matches and get in touch with the experts.

Features

  • Landing Page
  • User authorization and authentification (Login/Logout)
  • Profile page incl. image and video upload
  • Search functionality based on interest
  • Algorithm for matching experts with users

Technologies ⚛️

  • React
  • Next.js
  • Typescript
  • Node.js\Javascript
  • HTML
  • Tailwind CSS

External Technologies:

  • Cloudinary

Prototyping

Screenshot 📷

Screenshots_Travel_Genius

Setup

  1. Clone the repository
git clone LINK
cd travelgenius
  1. Install dependencies using
pnpm add
  1. Setup postgress database Create a .env file in the root directory and add the following:
PGHOST=localhost
PGUSERNAME=<your username>
PGPASSWORD=<your password>
PGDATABASE=<your database>
  1. Connect to postgres and run either: Windows and macOS:
psql -U <user name> <database name>

Linux:

sudo -u <user name> psql -U <user name> <database name>

  1. Run migration
pnpm migrate up
  1. Run application
pnpm dev

Run Tests

To run unit tests with Jest, use the following command:

pnpm jest

To run end-to-end tests with Playwright, use the following command:

pnpm playwright test

Deployment

  • fly.io
  • Docker

Releases

No releases published

Packages

No packages published