Giter Club home page Giter Club logo

restaurant-list's Introduction

Restaurant-List 2.0

This website provides users with functions to create, read, update, and delete their own restaurant list information.

image image

Feature

  • The user can create an account(with email or Facebook) to manage the restaurant list by herself.
  • The user can see the following information about the restaurants on the home page: image, name, category, and rating.
  • The user can click the detail button or restaurant image to see more information about the restaurant: phone, address, description, etc.
  • The user can click the 新增餐廳 button to create a new restaurant with some necessary information(ex: name, category, and rating).
  • The user can click the edit button to edit information about the restaurant.
  • The user can click the delete button to delete the restaurant card.
  • The user can click the 排列方式 to select the order of the restaurant.
  • The user can search for a specific restaurant by entering the name or category in the search bar.

How to Use

  • Git clone this project.(Use Terminal)

    git clone https://github.com/tkoleo84119/restaurant-list.git
    
  • cd to restaurant list file.(Use Terminal)

  • Install npm packages.(Use Terminal)

    npm install
    
  • Change.env.examplefile name to.env

  • Create default data.(Use Terminal)

    npm run seed
    
  • Start the server.(Use Terminal)

    npm run dev
    
  • When Terminal show Express is listening on localhost:3000 mongodb connected!, you can use any browser and type http://localhost:3000 to enter the website.

Defalut users

When running npm run seed, two default users will be created. User can use the following default user information to enter the website.

Packages and versions

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.