Skip to content

UrbanEats/Banner-Gallery

Repository files navigation

Banner Gallery

A banner photo gallery web application for a restaurant listings page

Demo

Demo

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

Create a file named config.js and place it within the db folder

config.js

module.exports = {
  connectionLimit: 10,
  user: \\CHOOSE_USERNAME,
  password: \\CHOOSE_PASSWORD,
  database: 'banner_images',
};

Requirements

  • Node 12.14.1
  • MySQL 5.7

Development

Installing Dependencies

From within the root directory:

npm install

Creating a database with schema

npm run create

Seeding the database with photos

npm run seed

Build webpack bundle and start server

npm run build
npm run start

Launch site

After following all the steps above, open a browser and go to http://localhost:3001/

About

Created a web application for a restaurant listings page. This banner gallery microservice contains the photo gallery module for client or user uploaded photos.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors