Giter Club home page Giter Club logo

fooddance's Introduction

FoodDance

Overview

FoodDance, a web application where foodies, present and future food lovers can communicate witheach other, andshare their experiences on cooking.

On the one hand,FoodDanceprovides a free community environment for users to search and post their favorite recipes. Users can also comment and rate the recipes they have tried. On the other hand, the platform will recommend recipes to users according to their identity and on-demand, and users can add the recipes they want to try into their wish lists. The highest-rated recipes will be displayed to provide a reference for users.

In this project, we use sqlite 3 as database, use Django to implement the back-end service, and use html5, CSS, javascript, bootstrap 5 to process front-end render.

Project Structure

└─ foodDance_web
├─ fooddance
│ └─ templatetags
├─ foodDance_web
├─ media
│ ├─ avatars
│ └─ recipes
├─ static
│ ├─ css
│ ├─ images
│ └─ js
└─ templates
└─ fooddance

Environment Requirement

This project uses python and django

  • Python 3.7.5
  • Django 2.1.5

**We recommend to use Anaconda Command Prompt.

conda create -n fooddance python=3.7.5    
conda activate fooddance

Install

Open project, and run cmd, execute the following command:

pip install -r requirements.txt
cd foodDance_web

Creating and migrating the database:

python manage.py makemigrations fooddance
python manage.py migrate

Import test data, run population script to do that, execute command:

python population_script.py

Start up the server:

python manage.py runserver

Project is disploy on the http://127.0.0.1:8000 (default port is 8000)

Test

In fooddance_web file, run test command.

python  manage.py test fooddance

Web Page

Index Page: /

  • Today's Top Show today's most views recipes.
  • Recommendation Show the top-9-comment recipes, click recipes can visit the detail of every recipe. index

All Recipes Page: addrecipes/

Show all recipes allrecipes

Search Result: search/?search=key

search

Login: login/

login

Sign Up: register/

signup

My recipes: myrecipe/

Check my recipe myrecipes

System Architecture

未命名文件

Development Team

name email
1 Zumin Li [email protected]
2 Linyue Zhang [email protected]
3 Keyi Miao [email protected]
4 Qiaochu Xu [email protected]

fooddance's People

Contributors

2587334z avatar keyimiao avatar flyingjacklee avatar qiaochuxu avatar

Watchers

anquf5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.