Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
/ CS97-App Public archive

CS97 App Project - MERN Stack application that allows users to upload photos and add friends who are able to view and comment on such photos.

Notifications You must be signed in to change notification settings

WilliamZLi/CS97-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Main directory for project

Frontend: React Backend: Express + MongoDB

Running the app on your local machine:

  1. Clone the repository onto your local computer

    • copy the web url from GitHub (the green code dropdown button)
    • run the command git clone <copied url>
    • run the command cd CS97-App
  2. Installing node If node is not already installed on your machine

  3. Run the frontend of the app

    • run the command cd frontend
    • run the command npm install to get node_modules
    • run the command npm start
    • There should be a message that says "Compiled successfully!"
    • This means the frontend is running successfully and you can connect to it in your browser.
    • Follow the link "http://localhost:3000" in terminal or input this link in your browser.
  4. Run the backend of the app

    • open another terminal and cd into the backend directory
    • go to the CS97-App directory and run cd backend
    • run the command npm install to get node_modules
    • run the command npm start
    • There should be a message thats says "Connected to port 5000 Listening on port 5000..."
    • This means the backend/database is running successfully and is listening to the frontend.

Now, the app is ready to go! Any objects inputted in the frontend will be heard and recorded by the backend/database.

About

CS97 App Project - MERN Stack application that allows users to upload photos and add friends who are able to view and comment on such photos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •