API for the Travel Bliss project
- NodeJS v18
- Posgres
git clone https://github.com/ZachHung/TravelBliss-API
cd TravelBliss-API
npm install -g pnpm
pnpm i
Create a .env
file at the root of the project with this structure:
PORT =
POSTGRES_HOST =
POSTGRES_USER =
POSTGRES_PASS =
POSTGRES_PORT =
POSTGRES_DB =
SECRET_JWT =
JWT_EXPIRED =
SECRET_REFRESH =
REFRESH_EXPIRED =
SALT_ROUND =
pnpm migration:run
pnpm start:dev
pnpm build && pnpm start