MCPcopy Index your code
hub / github.com/code100x/cms

github.com/code100x/cms @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
594 symbols 1,745 edges 289 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CMS - 100xDevs

Open source repo for app.100xdevs.com

Running Locally

[!NOTE]
This project uses pnpm only as a package manager.

  1. Clone the repository:
git clone https://github.com/code100x/cms.git
  1. Navigate to the project directory:
cd cms

Instant Docker Setup

[!NOTE]
Your Docker Demon should be online

  1. Running Script for Instant setup
# Gives permission to execute a setup file
chmod +x setup.sh

# Runs the setup script file
./setup.sh

Traditional Docker Setup

(Optional) Start a PostgreSQL database using Docker:

docker run -d \
--name cms-db \
-e POSTGRES_USER=myuser \
-e POSTGRES_PASSWORD=mypassword \
-e POSTGRES_DB=mydatabase \
-p 5432:5432 \
postgres
  1. Create a .env file:

  2. Copy .env.example and rename it to .env.

  3. Install dependencies:

pnpm install
  1. Run database migrations:
pnpm prisma:migrate
  1. Generate prisma client
pnpm prisma generate
  1. Seed the database:
pnpm db:seed
  1. Start the development server:
pnpm dev

Usage

  1. Access the application in your browser:
http://localhost:3000
  1. Login using any of the following provided user credentials:

  2. Email: testuser@example.com, Password: 123456

  3. Email: testuser2@example.com, Password: 123456

Contributing

We welcome contributions from the community! There are many ways to contribute to the CMS. Code is just one possible means of contribution.

To contribute follow these steps:

  1. Fork the repository.

  2. Clone the fork to your local machine:

git clone https://github.com/<your username>/cms.git
cd cms
  1. Create a new branch
git checkout -b feature/fooBar
  1. Make your changes and commit them
git commit -am 'Add some fooBar'
  1. Push to the branch
git push origin feature/fooBar
  1. Go to the repository and make a Pull Request.

For major changes, please open an issue first to discuss what you would like to change.

Read our contribution guidelines for more details.

Contributors

Extension points exported contracts — how you extend this code

ICache (Interface)
(no doc) [6 implementers]
src/lib/cache/cache.ts
RequestWithUser (Interface)
(no doc)
src/middleware.ts
QueryParams (Interface)
(no doc)
src/actions/types.ts
FormErrorsProps (Interface)
(no doc)
src/components/FormError.tsx
IntrinsicElements (Interface)
(no doc)
src/utiles/jsx.d.ts
ErrorProps (Interface)
(no doc)
src/app/error.tsx
DurationMetaData (Interface)
(no doc)
src/scripts/data.ts
UseActionOptions (Interface)
(no doc)
src/hooks/useAction.ts

Core symbols most depended-on inside this repo

cn
called by 85
src/lib/utils.ts
get
called by 57
src/lib/cache/cache.ts
set
called by 25
src/lib/cache/cache.ts
getUpdatedUrl
called by 20
src/lib/utils.ts
createSafeAction
called by 19
src/lib/create-safe-action.ts
useAction
called by 18
src/hooks/useAction.ts
onClose
called by 9
src/hooks/useModal.tsx
isExtendedQuestion
called by 6
src/components/posts/PostCard.tsx

Shape

Function 491
Interface 71
Method 21
Class 8
Enum 3

Languages

TypeScript100%

Modules by API surface

src/lib/utils.ts22 symbols
src/components/VideoPlayer2.tsx19 symbols
src/db/course.ts16 symbols
src/components/big-calendar/calendar.tsx14 symbols
src/components/admin/AddContent.tsx10 symbols
src/lib/cache/in-memory-cache.ts9 symbols
prisma/seed.ts9 symbols
src/lib/cache/redis-cache.ts8 symbols
src/components/3dcard.tsx8 symbols
src/lib/createAndHandleSegments.ts7 symbols
src/lib/auth.ts7 symbols
src/db/Cache.ts7 symbols

Datastores touched

cmsDatabase · 1 repos

For agents

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

⬇ download graph artifact