MCPcopy Index your code
hub / github.com/adocasts/adocasts

github.com/adocasts/adocasts @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2,331 symbols 5,378 edges 568 files 36 documented · 2% updated 19d ago★ 10911 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Adocasts

Adocasts provides education lessons, screencasts, and livestreams on AdonisJS, NodeJS, JavaScript, and more. We have a vast library of free lessons and resources that expands weekly to help get you up and running with AdonisJS.

Get even more by joining Adocasts Plus

📚 Ready to learn? Check out adocasts.com
🎉 New lessons every week!


YouTube Badge Twitter Badge Twitch Badge


Before We Start

Some portions of the Adocasts site rely on external APIs & SDKs for information. The site will still function fine for you locally, but these sections may not render unless you set up an account specifically for them. * Billing & Plans — Relies on our Stripe connection. You can create your own Stripe account with test data if you need to get this working. * Content Schedule — Relies on our PlotMyCourse API connection * Social Authentication — Relies on Google and GitHub services.

Prerequisites

  • PostgreSQL — We use PostgreSQL as our database driver so you'll either want it installed on your machine or a service that provides it.
  • SMTP Provider — Locally, we like to use MailTrap
  • Redis Server — We now require a Redis connection via @adonisjs/cache
  • Node v22+ — Required

Installation

  1. Clone the repository
git clone https://github.com/adocasts/adocasts.git
  1. Install NPM packages
npm i
  1. Duplicate .env.example and rename .env
  2. Fill out the .env variables

Data

We provide a StarterSeed that will populate your database with faker data to populate pages on the Adocasts site. If you run into any problems, feel free to open an issue.

  1. Migrate your database
node ace migration:run
  1. (Optional) If you'd like to start fresh (without faker data), open our StarterSeed at database/seeders/StarterSeed.ts and comment out the seedUsersAndContent() call within the run method.
async run() {
  const trx = await db.transaction()

  try {
    await this.seedRoles(trx)

    if (!app.inTest && !app.inProduction) {
      // await this.seedUsersAndContent(trx)
    }

    await trx.commit()
  } catch (error) {
    await trx.rollback()
    console.log({ error })
  }
}
  1. Seed our faker data
node ace db:seed

Extension points exported contracts — how you extend this code

ProgressContext (Interface)
(no doc) [3 implementers]
app/middleware/context/_progress.ts
SlugifyStrategyContract (Interface)
(no doc) [1 implementers]
app/services/slug_service.ts
StaticAction (Interface)
(no doc)
app/actions/base_action.ts
ActivityModel (Interface)
(no doc)
app/dtos/activity.ts
DisplayOptions (Interface)
(no doc)
app/builders/post_builder.ts
CacheStores (Interface)
(no doc)
config/cache.ts
LimitersList (Interface)
(no doc)
config/limiter.ts
MailersList (Interface)
(no doc)
config/mail.ts

Core symbols most depended-on inside this repo

where
called by 206
app/builders/base_builder.ts
get
called by 181
app/middleware/context/_progress.ts
run
called by 169
commands/check_plans.ts
orderBy
called by 86
app/builders/base_builder.ts
toast
called by 64
start/session/toast.ts
post
called by 58
app/services/form_service.ts
delete
called by 54
app/services/form_service.ts
if
called by 51
app/builders/base_builder.ts

Shape

Method 1,170
Class 820
Function 255
Interface 50
Enum 36

Languages

TypeScript100%

Modules by API surface

start/routes.ts104 symbols
app/middleware/context/_up.ts51 symbols
app/builders/post_builder.ts35 symbols
app/models/post.ts31 symbols
app/builders/collection_builder.ts29 symbols
app/services/stripe_service.ts28 symbols
resources/js/unpoly/_player.js26 symbols
app/builders/base_builder.ts24 symbols
app/services/slug_service.ts21 symbols
app/builders/discussion_builder.ts20 symbols
app/middleware/context/_progress.ts18 symbols
app/dtos/activity.ts18 symbols

For agents

$ claude mcp add adocasts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page