This project is a web application built with React.js for the frontend and Django for the backend. It implements session-based authentication to provide personalized content to users.
-
Session-Based Authentication: Secure login system using Django's authentication framework.
-
API Integration: Requests data from external APIs to fetch and display advice, facts, and jokes.
-
Responsive Design: Built with React.js to ensure a smooth and interactive user experience across devices.
-
Frontend: React.js, Axios
-
Backend: Django, Django REST Framework
-
Authentication: Django Authentication System
-
External APIs: Integrated APIs for advice, facts, and jokes
- Clone the repository:
git clone https://github.com/treyweldon/Advice-Fact-or-Joke.git - Set up the backend:
- Navigate to the backend directory:
cd backend - Install dependencies:
pip install -r requirements.txt - Run migrations:
python manage.py migrate - Start the Django development server:
python manage.py runserver
- Set up the frontend:
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install - Start the React development server:
npm start - Open your browser and visit:
http://localhost:3000/
Contributions are welcome! Please feel free to fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.

