• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language MDX
  • Created over 2 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Deprecated; V2 lives at https://github.com/developer-dao/academy-turbo

Developer DAO Academy

Developer DAO Academy is an open-source education platform created by the Developer DAO Foundation.

Live site is at https://academy.developerdao.com.

Find us on Twitter at https://twitter.com/devdao_academy.

Academy Homepage Screenshot

What license applies to this site's content and code?

  • All Developer DAO Academy website content © 2022 by Developer DAO Foundation licensed under Attribution-NonCommercial 4.0 International.
  • Developer DAO Academy website code © 2022 by Developer DAO Foundation licensed under MIT.

How do I get started?

Please read our CONTRIBUTING Guide to get started. We ask that you are a member of Developer DAO to contribute, since our project uses various Developer DAO planning and communication tools, such as Discord.

How to contribute code

If you're new to the project, see below for setup instructions.

Considerations as you write code

As you're working on code, some things to think about:

What should I do before submitting the PR?

  • Run yarn confirm which will make sure your files are consistently formatted, lint the code base looking for problems and then actually building the site locally to ensure no build problems
  • If you see warnings or errors please fix.
  • Also, this step runs Prettier so some files may have changed and need to be checked in.

Now you're ready to submit your PR.

Assume no one knows what your PR is about. So helpful to:

  • writing a description in the PR to explain what you're fixing/adding and how to test.
  • if your work is based on a GitHub issue, add that in the description, though make sure you use the exact words of "Closes #123" since this will automatically close the issue when the PR is merged. Using "this refers to #123" won't do that.
  • send a signal that your PR is ready for review, such as asking someone to review your PR

How do I review a PR?

It's also important that people review PRs -- a great learning experience and important for an open-source project.

Some helpful things when reviewing PRs:

  • ALWAYS download and run the code you're reviewing. Never eyeball it in the PR and approve it.
  • when you review a PR, please add yourself as a reviewer in GitHub so we know someone is reviewing
  • go through the formal GitHub review process of starting a review and then finishing with "approved" or "needs changes"

Who should merge the PR?

Once a PR is reviewed, the author of the PR should merge, and the author should run through the live site and make sure the code is performing as expected.

Project Setup

Prerequisites:

node --version 18.x

Refer to the node and npm installation with nvm guide in Lesson 2. A link to the guide can be found here:

Fork this repo, clone forked repo locally and cd into the repo:

git clone https://github.com/[YOUR GITHUB HANDLE HERE]/academy.git
cd academy/

Installation and run:

yarn install
yarn dev

This will create a local instance of the app running and can be viewed at http://localhost:3000 in your browser.

Also it's handy to install the Prettier plugin for your browser. You can then use it to automatically format files. It helps keep the code base tidy, for Typescript, MDX and Markdown files.

VSCode Remote Containers (alternative setup)

If you use VSCode for development, we already have the configuration files for you to use Remote Containers (make sure that you check the link to install the requirements to use it) to easily create an isolated development environment for your fork. After installing the minimum requirements, you can start using it following this quickstart.

For Windows Users

You may run into setup problems if using Windows Powershell. We suggest you use WSL.

Grabbing latest version of the code

Since this is a work in progress, your local version of the app can be updated with the following commands:

Stop the locally running app with:

Ctrl + C

Use git pull for the most up-to-date version:

git pull

Reinstall with yarn:

yarn install

Run the updated app:

yarn dev

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Storybook

This project uses Storybook. Storybook allows us to develop components in isolation from our app.

Stories are loaded from *.stories.(mdx|js|jsx|ts|tsx) files in any directory.

To use Storybook, run the storybook script:

yarn storybook

To learn more about how to write Storybook stories, check out the official Intro to Storybook tutorial.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

How do I add/edit contributors for a lesson?

First make sure you add your information to ./data/contributors.ts. Minimally you need a unique handle (a single lowercase name such as brianfive) which will be used to look up your information.

Then add a component in your .mdx file at the bottom like this, using various handles defined above.

You can add a contributor as an author, reviewer of contributor. Author(s) wrote the content, Reviewer(s) edited the content, and Contributor(s) later made updates or fixed issues.

import { ContributorFooter } from "../../../components/mdx/ContributorFooter";
<ContributorFooter
  authors={["brianfive"]}
  reviewers={["piablo", "georgemac510"]}
  contributors={[]}
/>

How do I add a specific forum link in a lesson's header?

Make sure the <LessonHeader /> component has the discussionUrl attribute like this:

<LessonHeader
  title="Lesson 4: Testing your TierNFT"
  discussionUrl="https://developerdao.peeranha.io/discussions/1372/testing-solidity-contracts"
/>

Without discussionUrl the link will default to the home page of Peeranha.

More Repositories

1

resources

A collection of useful resources for Developer DAO members
JavaScript
422
star
2

web3-ui

A React UI library for Web3
TypeScript
384
star
3

developerdao.com

A community of builders who believe in collective ownership of the internet
TypeScript
345
star
4

developer-dao-nft-contract

Solidity
137
star
5

pixel-avatars

A Polygon-based minting projects for Developer DAO members who own an Devs for Revolution NFT
JavaScript
133
star
6

community

A repository for storing community-related information like meeting notes.
JavaScript
92
star
7

create-dao

JavaScript
88
star
8

DAO-job-board

A job board connecting DAOs with talent.
TypeScript
63
star
9

Lens-Graph-Subgraph

TypeScript
53
star
10

developer-dao-erc20-contract

Developer DAO Token Contract
JavaScript
53
star
11

web3cheatsheet

JavaScript
42
star
12

devie-bot

This bot will allow users to use /commands in discord to add resources to our knowledge base on airtable.
TypeScript
28
star
13

code-claim-site

$CODE contract & claim site
TypeScript
27
star
14

token-airdrop-whitelist

Power an airdrop to a predefined set of addresses
TypeScript
26
star
15

ario-gateway-aws

HCL
26
star
16

academy-turbo

D_D Academy is an open-source education platform created by and for Developer DAO.
MDX
18
star
17

ukraine-donation-nft

Developer DAO for Ukraine is a fund-raiser to support humanitarian relief efforts in Ukraine. Polygon.
Vue
17
star
18

devdao-domains

TypeScript
16
star
19

shopify-crypto-wallet

https://forum.developerdao.com/t/shopify-metamask-app-idea/636/8
JavaScript
16
star
20

hackathons

15
star
21

proof-of-skill

TypeScript
13
star
22

developer-dao-dot-com

The home for the Developer DAO website and CMS
TypeScript
12
star
23

erc721-snapshot

.
JavaScript
11
star
24

DevDaoSponsorship

Sponsorship NFT for Developer DAO
TypeScript
11
star
25

hardhat-fe

Hardhat plugin to develop smart contracts with Fe
TypeScript
10
star
26

frontend2web3

TypeScript
10
star
27

DAO-pairbot

A Discord bot to help people collaborate, learn and in the end make new friends.
TypeScript
9
star
28

contract-review

External contract review for learning purposes
Solidity
9
star
29

D_D-education

Education group shared repo
8
star
30

web3-con

A repository for our first Conference, D_D Web3 Con, being held Q1 2022
8
star
31

rpc

Rust
7
star
32

nft-robots

D_D animated robot NFT generator
HTML
6
star
33

Developer-DAO-Management-Bot

JavaScript
5
star
34

discord-server-info

Explore Discord server data and statistics
TypeScript
5
star
35

d_d-agency-landing

5
star
36

member-and-early-contributor-rewards

Temporary repo for suggesting member & early contributor rewards ahead of the token issuance information.
5
star
37

ddrpc-frontend

Svelte
4
star
38

vesting

vesting contract for $CODE token
TypeScript
3
star
39

academy-t3-app-router

Academy T3 app router migration + rainbowkit 2 + wagmi 2 + next-auth 4
MDX
3
star
40

DD_Assistant

TypeScript
2
star
41

website

TypeScript
2
star
42

devntell-web

This is the web application for DevNTell
TypeScript
2
star
43

vscode-fe

Fe plugin for VsCode
TypeScript
2
star
44

fls

Fe language server to add Fe support to editors and other tools that use the Language Server Protocol (LSP)
Rust
2
star
45

devdaowomen-website

TypeScript
1
star
46

D_D-Academy-lesson-5-frontend-integration-update

This repository holds the D_D Academy lesson 5 frontend integration code update @developer-dao
JavaScript
1
star
47

docs

JavaScript
1
star
48

dforms

Open source Google Forms alternative with SIWE support
TypeScript
1
star
49

web3con-hackathon-discord-onboarder

A simple node.js script to onboard hackathon registrants onto discord via CSV.
TypeScript
1
star