{"id":15587861,"url":"https://github.com/beaglefoot/fcc-voting-app","last_synced_at":"2026-04-09T17:05:27.374Z","repository":{"id":98862686,"uuid":"139568140","full_name":"Beaglefoot/fcc-voting-app","owner":"Beaglefoot","description":"Fullstack voting app built with React, Express, MongoDB and other buzzwords","archived":false,"fork":false,"pushed_at":"2018-08-13T15:40:52.000Z","size":378,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T23:54:53.741Z","etag":null,"topics":["express","heroku","mongoose","passport","ramda","react","react-router","redux","typescript","victory","webpack"],"latest_commit_sha":null,"homepage":"https://full-stack-voting.herokuapp.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Beaglefoot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-03T10:38:11.000Z","updated_at":"2018-08-13T15:40:53.000Z","dependencies_parsed_at":"2023-04-17T11:38:46.032Z","dependency_job_id":null,"html_url":"https://github.com/Beaglefoot/fcc-voting-app","commit_stats":{"total_commits":89,"total_committers":1,"mean_commits":89.0,"dds":0.0,"last_synced_commit":"1dbc20ef920e96fd3ac1777d0e4923ab58b56cc2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beaglefoot%2Ffcc-voting-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beaglefoot%2Ffcc-voting-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beaglefoot%2Ffcc-voting-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beaglefoot%2Ffcc-voting-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Beaglefoot","download_url":"https://codeload.github.com/Beaglefoot/fcc-voting-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246162147,"owners_count":20733357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","heroku","mongoose","passport","ramda","react","react-router","redux","typescript","victory","webpack"],"created_at":"2024-10-02T22:04:35.207Z","updated_at":"2025-12-30T20:10:30.470Z","avatar_url":"https://github.com/Beaglefoot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fcc-voting-app\n\nThis is one of fullstack projects in Take Home Projects section on [freeCodeCamp](https://learn.freecodecamp.org/coding-interview-prep/take-home-projects/build-a-voting-app/) written in TypeScript.\n\n### User stories:\n\n1. As an authenticated user, I can keep my polls and come back later to access them.\n1. As an authenticated user, I can share my polls with my friends.\n1. As an authenticated user, I can see the aggregate results of my polls.\n1. As an authenticated user, I can delete polls that I decide I don't want anymore.\n1. As an authenticated user, I can create a poll with any number of possible items.\n1. As an unauthenticated or authenticated user, I can see and vote on everyone's polls.\n1. As an unauthenticated or authenticated user, I can see the results of polls in chart form.\n1. As an authenticated user, if I don't like the options on a poll, I can create a new option.\n\n### How to build and run\nFirst of all install all deps:\n```\nyarn install\n```\nThis will also build client side of the application.\n\nServer part of the app requires some env variables. For development build they can be placed in `server/.env` and then provided to the server side of the app with `yarn env` like this:\n```\nyarn env node dist/\n```\n\nThe following command can help to get some idea about what these variables are and how to name them:\n```\ngit grep -A3 -B3 process.env\n```\n\nOnce the environment is set up the easiest way to start is to run tmux script from the client dir:\n```\ncd client \u0026\u0026 bash start_tmux_session.sh\n```\nbut this requires system-wide tmux installation.\n\nTo start without tmux:\n* in case of dev env simply run `yarn start` in both `client` and `server` dirs\n* in case of prod env build client side with `yarn build` and run server side with\n```\nNODE_ENV='production' yarn env yarn start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeaglefoot%2Ffcc-voting-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeaglefoot%2Ffcc-voting-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeaglefoot%2Ffcc-voting-app/lists"}