Skip to content

thidang2901/TravelEase-deno-fresh

Repository files navigation

Travel Ease


Logo

Travel Ease

An application for self-travel planning
View Demo

Table of Contents

  1. About The Project
  2. Technical Stacks
  3. Getting Started
  4. Deployment
  5. Contact

About the project

This is portfolio project using Fresh Deno - The next-gen web framework.

Technical Stacks

Language TypeScript
Runtime Deno
Framework Fresh Deno
Database PostgreSQL on Supabase
ORM Prisma.io
Deployment Deno Deploy

Getting Started (TBU)

Prerequisites

Make sure to install Deno: https://deno.land/manual/getting_started/installation

Then start the project:

deno task start

This will watch the project directory and restart as necessary.

Development

Fresh

Prisma

Deno's with Prisma example: https://github.com/denoland/examples/tree/main/with-prisma

Clone the project

git clone https://github.com/thidang2901/TravelEase-deno-fresh.git

or using SSH

git clone git@github.com:thidang2901/TravelEase-deno-fresh.git

Run prisma init with Deno

deno run --allow-read --allow-env --allow-write npm:prisma@^4.5 init

Create new database

deno run -A npm:prisma@^4.5 db push

or

Pull current database's schema

deno run -A npm:prisma@^4.5 db pull

Generate Prisma client for Data Proxy

deno run -A --unstable npm:prisma@^4.5 generate --data-proxy

Create new seed as example Run prisma/seed.ts

deno run -A prisma/seed.ts

Contact

Thi Dang (Ms.) - LinkedIn

Project Link: https://github.com/thidang2901/TravelEase-deno-fresh