Skip to content

julia-alberici/boarding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boarding Project

This is a full-stack application with a Node.js/Express backend and a React/Vite frontend.

Prerequisites

  • Node.js (v18 or higher recommended)
  • PostgreSQL database
  • pnpm, npm, or yarn package manager

Backend Setup

  1. Navigate to the backend directory:
cd backend
  1. Install dependencies:
npm install
  1. Create a .env file in the backend directory with the following content:
DATABASE_URL="postgresql://username:password@localhost:5432/your_database"

Replace the values with your PostgreSQL database credentials.

  1. Run database migrations:
npx prisma migrate deploy
  1. Start the development server:
npm run dev

The backend server will start at http://localhost:3000 (or your configured port).

Frontend Setup

  1. Navigate to the frontend directory:
cd frontend
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

The frontend application will be available at http://localhost:5173.

Build for Production

Backend

  1. Build the backend:
cd backend
npm run build
  1. Start the production server:
npm start

Frontend

  1. Build the frontend:
cd frontend
npm run build
  1. Preview the production build:
npm run preview

Technologies Used

Backend:

  • Node.js with TypeScript
  • Express.js
  • Prisma (ORM)
  • PostgreSQL
  • Authentication with JWT
  • CORS enabled

Frontend:

  • React 19
  • TypeScript
  • Vite
  • TailwindCSS
  • Zustand (State Management)
  • React Router DOM
  • Framer Motion
  • Radix UI Components
  • Hello Pangea DnD (Drag and Drop)
  • Axios (HTTP Client)

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages