Code Monkey home page Code Monkey logo

petshop's Introduction

A Database for animal welfare
Final Report

Project Description

Many people and families like to have pets. At the same time, many people choose to adopt pets from animal welfare platform, which not only satisfy the needs of pets, but also ease the pressure of animal welfare platform. Our project aims to build an information platform for animal welfare, showing pet data to users who want to adopt pets.

README docs

README file is attached in our project folder already. You can also run our project on your computer following the instruction below:

Back-End

Prerequisite:

  1. Python 3.6
  2. Python Package: flask 1.0.2
  3. Python Package: flask-restful 0.3.6
  4. Python Package: pymsql 0.9.3

Go to the directory of the main project back-end directory and run the back-end in shell:

python app.py

Database

Prerequisite:

  1. MySQL
  2. MySQL Workbench

Use MySQL Workbench import the file PetShopDatabase.sql in folder /project/MySQL

Front-End

Prerequisite:

  1. Node.js > 8. You can download Node.js from here.
  2. A Chrome extensions to resolve cross-origin issues. (Please make sure it opened before start the project)

Goto the directory of the front-end project and install dependencies:

npm install

and run the front-end server:

npm run start

then you can see the home page in http://localhost:9000/.

There're two types of user in our project, customer and administrator. You can login as administrator by using the information provided below:

username: admin
password: admin

If everything is ok, you should see this page: Home Page

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.