Welcome! This guide helps you set up, run, and share the project easily using Docker — no manual .env setup needed!
frontend-job-application-tracker/
|-public
|-src/
├── api/
├── app/
├── assets/
├── config/
├── features/
├── hooks/
├── lib/
├── shared/
├── App.tsx
├── index.css
├── index.tsx
├── main.tsx
├── vite-env.d.ts
├── .dockerignore
├── docker-compose.yml
├── Dockerfile
├── package.json
├── package-lock.json
├── vite.config.ts
├── tailwind.config.js
└── README.md
- Frontend: React, TypeScript, Vite
- Styling: Tailwind CSS
- Dev Tools: ESLint, Prettier
- Containerization: Docker, Docker Compose
No need to manually create .env — it’s handled for you in the Docker setup!
git clone <your-repo-url>
cd frontend-job-application-trackerdocker-compose up --build✨ That’s it!
Your frontend will be available at: http://localhost:5173
-
Dockerfile
- Uses Node 20 Alpine for lightweight builds
- Installs dependencies and starts Vite dev server
- Injects your
VITE_BASE_URLautomatically
-
docker-compose.yml
- Builds the image
- Maps ports
5173:5173 - Sets
VITE_BASE_URLso you don’t need.env
If you prefer to run locally without Docker:
-
Install dependencies:
npm install
-
Create
.envfile in the root:VITE_BASE_URL=http://localhost:3000/api
-
Run the app:
npm run dev
| Command | Description |
|---|---|
docker-compose up |
Build and start the app in Docker |
npm install |
Install dependencies locally |
npm run dev |
Run Vite dev server locally |
Your .dockerignore excludes:
node_modules
dist
Feel free to fork, test, and suggest improvements!