Skip to content

Web-Programming-Group-Project/Final-Project

Repository files navigation

Final-Project

Web Programming Final Project

Set Up Steps

  1. Make sure npm is installed
  2. clone repository
  3. Run npm install in terminal to download packages
  4. cd into the server directory
  5. Create a .env file and copy and paste this code into it:
    PORT=8080
    MONGODB_URI=mongodb+srv://convo_db_user:POkT9iC7EiEE1rcw@cluster0.bpzjy1i.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
    JWT_SECRET=Yk+KJtpuSU0CfyjPzrNW2cL9XQm/JZxDKQ38bBdDuhM=
    CORS_ORIGIN=http://localhost:5173
    COOKIE_SECURE=false 
    
  6. Run npm install in terminal to download server specific packages
  7. Run make dev in the project root directory to locally host web app
  8. Run make stop to stop hosting the web app
    • Note: The two commands above are from the Makefile and are a short cut for running npm run dev twice in two different directories

About

Web Programming Final Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •