This is a simple depression recommendation system with a NextJS React frontend and a Django Python backend. It uses Aceternity components, Shadcn components, and Tailwind CSS for the UI.
The trained models are in the models folder. The frontend is in the my-app folder and the backend is in the root and example folder.
- Django Frontend Setup: From the
rootdirectory, create a venv and install the requirements
# Windows:
py -m venv myworld
# Unix/MacOS:
python -m venv myworld- Django Frontend Setup: Activate the venv
# Windows:
.\myworld\Scripts\activate# Unix/MacOS:
source .venv/bin/activate - Django Frontend Setup: Install the requirements
pip install -r requirements.txt- Django Frontend Setup: Run the server
python manage.py runserverNote: Make sure the Django server runs on http://127.0.0.1:8000/
-
Open a new terminal (keep the Django server running in the other terminal)
-
NextJS Frontend Setup: Change directory to the frontend
cd my-app- NextJS Frontend Setup: Install the dependencies
npm install- NextJS Frontend Setup: Run the server
npm run dev