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.
- 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
- React
- Next.js
- Typescript
- Node.js\Javascript
- HTML
- Tailwind CSS
- Cloudinary
- Clone the repository
git clone LINK
cd travelgenius
- Install dependencies using
pnpm add
- 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>
- 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>
- Run migration
pnpm migrate up
- Run application
pnpm dev
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
- fly.io
- Docker