Giter Club home page Giter Club logo

finddining's Introduction

findDining

license contributors repo size code size files forks stars

findDining is a fullstack web application that lets users find restaurants and food spots near them based on simple search criterieas. Users can find suggestions through search using keywords, i.e. #ice-cream, or phrases, which will return a number of options near them that sell ice cream.

This application is built on Node.js, Express, EJS, Bootstrap, Sass, and MongoDB.

Project Structure

findDining/
├─ src/
│  ├─ config/
│  ├─ controllers/
│  ├─ models/
│  ├─ routes/
│  ├─ server.js
├─ .gitignore
├─ CHANGELOG.md
├─ LICENSE
├─ package-lock.json
├─ package.json
├─ Procfile
├─ README.md
├─ client/
│  ├─ public/
│  │  ├─ css/
│  │  ├─ sass/
│  │  ├─ js/
│  │  ├─ img/
│  ├─ views/
│  │  ├─ layouts/
│  │  ├─ includes/

Quick Start

You can view and interact with the the application on your browser by visiting https://find-dining-app.herokuapp.com/.

Prerequisites

Before you begin, make sure you have met the following prerequisites:

Installing findDining

To download the <findDining> API repo, follow the following instrunctions for your OS.

1) Using Git (Recommended)

Run the following command in your terminal/CLI to clone the API repo.

git clone https://github.com/ogre2/findDining.git

2) Windows

If you're a Windows OS user, you can install findDining using Git by following the instrunctions above.
You can also install the project using the latest release version and downloading the zipped source code folder.

3) Linux and MacOS

If you're a Linux or MacOS user, with the aforementioned prerequisites installed and running on your machine. You can employ the Git method
to install/clone the repo locally on your machine and test the API.

You can also install the project using the latest release version and downloading the <tar.gz> folder.
Then in your terminal run the following command to unzip and extract

tar -xzf tarfile

4) Web Browser

Alternatively, you can view the API on your browser by visiting https://find-dining-app.herokuapp.com/.
Note: The API's HTTP requests are limited to <GET> requests only. It is recommended that you install and run the project locally to take advantage of all created endpoints.

Launching/Using API

  1. Using your terminal/CLI, navigate to the findDining-vX.X.X folder.
  2. Using your terminal/CLI, run the <npm install> command to automatically download all dependencies for the project.
  3. Using your terminal/CLI, run the <npm start> command to launch the API server.
    1. Your console will log '[nodemon] server is running on port: 8080', to indicate that the API has launched successfully.
    2. Your console will log '[nodemon] server connected to Mongo database...', to indicate that the API has successfully connected to the database.
  4. On your browser, navigate to <localhost:4000>.
  5. You should see <{"message":"Ok"}>, which will indicate that the API is working.
  6. Visit the various API end points at your leisure.

API Endpoints

Below are some of the endpoints that are currently accessible, do note that a dedicated API documentation will be created in due time.

Open Endpoints

Open endpoints require no authentication.

Methods URLS Description Status
GET / Retrieves index view 200
GET /api/search Retrieves search view 200
GET /api/howitworks Retrieves how it works view 200
GET /api/features Retrieves features view 200

Known Bugs

  • Spacing on restaurant cards in the search page.
  • Responsive layout on devices smaller than tablets.
  • Search box on seach page not rendering results page.

Author

Created and maintained by Stephen Mwingira.

Contributors

@ogre2

License

findDining is available under Apache License 2.0.

finddining's People

Contributors

mister-fix avatar

Watchers

 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.