Skip to content

Runone/photos_module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

137 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photo-Module

Service responsible for rendering a component clone of Airbnb's Photo Module and Modal Gallery.

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

Follow the instructions for installation and configuring in development and then run the following commands

npm run build
npm start

Requirements

An nvmrc file is included if using nvm.

Development

Installing Dependencies

From within the root directory:

npm install

Configuration

From within the root directory:

cp config/config.example.js config/config.js

Edit the config.js file and replace the MYSQL_USER and MYSQL_PASS fields with your username and password.

Seeding the database

From within the root directory:

npm run db:seed

Running the server

From within the root directory:

npm run watch & npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 86.0%
  • CSS 11.2%
  • Dockerfile 2.1%
  • HTML 0.7%