Skip to content

daedalus1215/potential-goggles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Required:

  • client/src/config.json
{
    "api": "https://{baseUrl}:{port}/api/" // connects us to the backend
}
  • server/config.js
module.exports = () => ({
    "mongoServerAndPort": 'databaseUrl:databasePort', // db connection
    "serverPort": 3001, // port we want to listen for requests
    "address": "127.0.0.1" // address we want to listen for requests
})
  • Can pass in the url tags to exclude them. Also can pass in date.
    • /stats?excludeTags=Chores = stats page filtering
    • ?date=2023-09-14 = stats page and homepage filter
    • /?tags=Chores = home page filtering of tags