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