Skip to content

lisaaxrisaa/biat_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📌 Pack Ahead - Backend

This is the backend API for the Pack Ahead travel planning application. It handles user authentication, itinerary management, budget tracking, weather integration, and more.

🚀 Tech Stack

Backend

  • Node.js
  • Express
  • Prisma
  • PostgreSQL
  • JWT

🛠 Installation & Setup

Clone the repository

git clone https://github.com/lisaaxrisaa/biat_backend.git
cd biat_backend

Install dependencies

npm install

Set up environment variables

Create a .env file in the root of the project and add the following:

DATABASE_URL=your_postgresql_url
JWT_SECRET=your_secret_key

Run the development server

npm run dev

📡 API Endpoints

The API is deployed on Render.com:
👉 https://biat-backend.onrender.com

Method Endpoint Description
POST /api/auth/register Register a new user
POST /api/auth/login Login and receive a JWT token
GET /api/itinerary Retrieve user itineraries

For a full list of API endpoints, check out the Postman Collection:
👉 Pack Ahead API - Postman Collection

🌍 Want to check out the frontend?

The frontend for Pack Ahead is built with React, Vite, and Redux Toolkit.
Check out the repository here:
👉 Pack Ahead Frontend Repository

📜 License

This project is open-source and available under the MIT License.
📖 See the full license details in the LICENSE file.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •