Welcome to the Recipe Sharing Web Application repository! This project is built using Django Rest Framework for the backend API and React for the frontend user interface. It provides a platform for users to share, discover, and explore various recipes.
- User Authentication: Secure user registration and authentication system.
- Recipe Creation: Users can create, edit, and delete their own recipes.
- Recipe Discovery: Browse and search for recipes based on categories, ingredients, or keywords.
- User Profiles: Users have personalized profiles showcasing their recipes, favorite recipes, and other details.
- Responsive Design: A user-friendly interface accessible on both desktop and mobile devices.
- Backend: Django Rest Framework, Django ORM.
- Frontend: React.js, Axios for API requests.
- Authentication: JWT (JSON Web Tokens) for secure authentication.
- Styling: CSS Modules.
- Navigate to the
foodieapi
directory. - Install the required Python packages:
pip install -r requirements.txt
- Run database migrations:
python manage.py makemigrations python manage.py migrate
- Start the Development server:
python manage.py runserver
- Install the required Node.js packages:
npm install
- Start the React development server:
npm start
- User Registration: POST /api/users/register/
- User Login: POST /api/users/login/
- Create Recipe: POST /api/recipes/create/
- List Recipes: GET /api/recipes/
- Retrieve Recipe: GET /api/recipes/<recipe_id>/
- Update Recipe: PUT /api/recipes/<recipe_id>/
- Delete Recipe: DELETE /api/recipes/<recipe_id>/