A full-stack application for career advising with backend (FastAPI) and frontend (Next.js).
This project is fully dockerized for easy setup and deployment. Follow these simple steps to get started:
- Docker installed on your machine
- Docker Compose installed on your machine
- Git for cloning the repository
-
Clone the repository:
git clone <repository-url> cd <repository-directory> -
Start the application using Docker Compose:
docker-compose up -
Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Both frontend and backend code are mounted as volumes, so changes will be reflected immediately
- The containers will automatically restart if they crash
To stop the application, press Ctrl+C in the terminal where docker-compose is running, or run:
docker-compose down
If you make changes to the Dockerfiles or need to rebuild the containers:
docker-compose up --build
If you prefer to run the application without Docker:
cd backend
pip install -r requirements.txt
python -m uvicorn main:app --reload
cd frontend
npm install
npm run dev
by prince yadav