{"id":16231671,"url":"https://github.com/uriklar/professor","last_synced_at":"2025-03-19T14:30:47.448Z","repository":{"id":50054451,"uuid":"355792904","full_name":"uriklar/professor","owner":"uriklar","description":"Community driven professor game. Inspired by: https://professor.amiacyb.org/","archived":false,"fork":false,"pushed_at":"2022-10-08T09:28:19.000Z","size":1126,"stargazers_count":4,"open_issues_count":5,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-17T08:06:30.730Z","etag":null,"topics":["firebase","hacktoberfest","hacktoberfest2021","nextjs"],"latest_commit_sha":null,"homepage":"","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/uriklar.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}},"created_at":"2021-04-08T06:45:52.000Z","updated_at":"2021-10-04T06:02:20.000Z","dependencies_parsed_at":"2023-01-19T15:30:24.377Z","dependency_job_id":null,"html_url":"https://github.com/uriklar/professor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriklar%2Fprofessor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriklar%2Fprofessor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriklar%2Fprofessor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriklar%2Fprofessor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uriklar","download_url":"https://codeload.github.com/uriklar/professor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244444451,"owners_count":20453727,"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":["firebase","hacktoberfest","hacktoberfest2021","nextjs"],"created_at":"2024-10-10T13:06:29.005Z","updated_at":"2025-03-19T14:30:47.020Z","avatar_url":"https://github.com/uriklar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\n\n1. Fork the repo and clone it locally\n2. Run 'npm install'\n3. To start the server, run `npm run dev`\n\nThe repo is a Next.js repo. You can read more about Next.js [here](https://nextjs.org/docs)\n\n## Setting up Firestore\n\n**Note** - if you just want to work on non Database related features, at the bottom of `index.tsx` there's an alternative `getServerSideProps` which will return mock data that is identical to the data from the db.\n\n**If you are just working on FE features i'd suggest using this as it saves a lot of setup**\n\nBut, if you need to setup the database :-)\n\n1. Go to https://console.firebase.google.com/ and click **Add project**\n2. Click on the **Cloud Firestore** button (it's a big orange sqaure on the page) and click on **Create Database**\n3. In the wizard, choose **Production mode**\n4. Select a location (preferably eu-something..)\n\nOnce your database is created, in the sidebar, next to Project overview, there's a Cog icon. Click it, and navigate to **Project settings -\u003e Service accounts**\n\n1. Click on **Generate new private key**\n2. Once the key is generated, you will have a button that downloads a json file\n3. In the root of the project, create a file called **serviceAccountKey.json** and paste the content of your downloaded json file. **Note: This file is in the .gitignore, but make sure you don't commit it!**\n4. run the app (`npm run dev`)\n5. The first run of the app will create an initial board in your firebase DB. You can then comment out the lines in `index.tsx` that have the comment `Seed data` above them. (If they are commented out, you'll need to un-comment them and refresh for the seeding to happen)\n\n## Contributing\n\nSee [our open issues](https://github.com/uriklar/professor/issues), and thanks for taking a part in this project!\n\nJoin our Slack workspace using [this link](https://join.slack.com/t/professorcrew/shared_invite/zt-p75wib6f-KjlwEii0HoCgXyQXFKiYIw)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiklar%2Fprofessor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furiklar%2Fprofessor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiklar%2Fprofessor/lists"}