https://github.com/climatecompatiblegrowth/teaching-kit-frontend
https://github.com/climatecompatiblegrowth/teaching-kit-frontend
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.6%) to scientific vocabulary
Keywords
Repository
Basic Info
- Host: GitHub
- Owner: ClimateCompatibleGrowth
- License: mit
- Language: TypeScript
- Default Branch: main
- Homepage: https://curriculum.climatecompatiblegrowth.com/
- Size: 13.2 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 7
- Releases: 0
Topics
Metadata Files
README.md
This is a Next.js project bootstrapped with create-next-app.
Introduction
This is the consumer site for the Teaching Kit. The data displayed is kept on a Strapi service with this source code.
Initial setup
First, create an .env-file with the keys specified in .env.example. Get the value for each key by someone knowledgeable of the service. It is of course of utter importance that this file remains in the .gitignore.
After having set the environment variables, run:
bash
npm install
npm run dev
In case you have some issues during the setup with Prisma, see the section under the "Database client" heading below.
... and the service should be up and running on http://localhost:3000.
In order for the service to run as expected, it needs data which are supposed to be fetched from Strapi on http://localhost:1337. You can pull the source code for the Strapi project from here.
Database client
For the Zenodo workflow (read more in /docs/zenodo), we use a postgres database to keep track of each entry's upload status. We use Prisma as a database ORM.
To get the project running initially, the only thing you should need is to generate the prisma client, which is built-in into our package.json-script for npm run develop, npm run start, and npm run build. If you're working with the Zenodo workflow, you will also need to setup the database locally. You can do this by following the steps in /docs/zenodo/setup.
Styling
We use @emotion/styled-components for styling in this project. In some rare cases we use regular in-line CSS-in-JS in order to adjust external components from e.g Material-UI. In these cases we stick to the CSS-in-JS throughout the whole component.
Hosting
The site is deployed on Vercel.
Owner
- Name: Climate Compatible Growth
- Login: ClimateCompatibleGrowth
- Kind: organization
- Location: United Kingdom
- Website: www.climatecompatiblegrowth.com
- Twitter: ResearchCcg
- Repositories: 41
- Profile: https://github.com/ClimateCompatibleGrowth
GitHub Events
Total
- Issues event: 3
- Member event: 1
- Issue comment event: 16
- Push event: 31
- Pull request review event: 12
- Pull request event: 27
- Fork event: 1
- Create event: 9
Last Year
- Issues event: 3
- Member event: 1
- Issue comment event: 16
- Push event: 31
- Pull request review event: 12
- Pull request event: 27
- Fork event: 1
- Create event: 9
Dependencies
- 675 dependencies
- @types/file-saver ^2.0.5 development
- @types/marked ^4.0.8 development
- @types/node ^18.11.9 development
- @types/react 18.0.25 development
- @types/react-dom 18.0.9 development
- @types/styled-components ^5.1.26 development
- eslint 8.27.0 development
- eslint-config-next 13.0.3 development
- prisma ^4.11.0 development
- ts-node ^10.9.1 development
- typescript ^4.9.3 development
- @emotion/react ^11.10.5
- @emotion/styled ^11.10.5
- @mui/icons-material ^5.11.0
- @mui/material ^5.11.3
- @next/bundle-analyzer ^13.0.6
- @next/font 13.0.6
- @prisma/client ^4.10.1
- @svgr/webpack ^6.5.1
- axios ^1.2.0
- file-saver ^2.0.5
- html-entities ^2.3.3
- html-to-docx 1.4.0
- image-to-base64 2.0.1
- jszip ^3.10.1
- marked ^4.2.12
- next 13.0.6
- nextjs-cors ^2.1.2
- pptxgenjs ^3.12.0
- react 18.2.0
- react-dom 18.2.0
- react-markdown ^8.0.3
- remark-gfm ^3.0.1
- swr ^2.0.1