Skip to content

This repository contains the complete code (both client and server) for a simple Photo Gallery application.

Notifications You must be signed in to change notification settings

Varsha-R/Photo-Galeria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Photo-Galería

This repository contains the complete code (both client and server) for a simple Photo Gallery application. Tech stack used:

MongoDB Express JS React NodeJS

Instructions

To run the server locally:

  1. Go into the /server folder and do npm install to install all required project dependencies.
  2. Create a keys.js config file to have the keys shown below shown below:
module.exports = {
  mongoURI:
    "mongodb+srv://....",
  jwtSecretKey: "supersecret_key",
};
  1. Run npm start

To run the client locally:

  1. Go into the /client folder and do npm install to install all required project dependencies.
  2. A FileStack account is needed to display the file picker overlay and to store the uploaded images.
  3. Create a keys.js config file to have the keys shown below shown below:
REACT_APP_FILESTACK_API_KEY=...
REACT_APP_BACKEND_URL=http://localhost:5001/api
  1. The keys must begin with REACT_APP_. The REACT_APP_BACKEND_URL will contain the port in which you are serving your /server code.
  2. Run npm start

A screenshot of the completed app can be seen here

About

This repository contains the complete code (both client and server) for a simple Photo Gallery application.

Topics

Resources

Stars

Watchers

Forks