codekon

Entirety of GDSC NITS project templates at your fingertips


Keywords
gdsc, reactjs, nodejs, typescript, template, cli, codekon, express, mongodb, postgresql
License
GPL-3.0
Install
npm install codekon@1.0.2

Documentation

Logo for codekon

codekon

Entirety of GDSC NITS project templates at your fingertips.

Get started with the GDSC NITS project templates by running pnpx codekon

install size NPM version

About

GDSC NITS has a set of templates to streamline the development of web based projects by having opiniated configs and settings. The various templates available are -

  • react-js-app - ReactJS + SASS app in JavaScript
  • next-js-app - NextJS pages router + SASS app in JavaScript
  • menp-t - MongoDB + Express + Node + Prisma + TypeScript API Template
  • penp-t - PostgreSQL + Express + Node + Prisma + TypeScript API Template
  • menpal-t - MongoDB + Express + Node + Prisma + AWS Lambda + TypeScript API Template
  • penpal-t - PostgreSQL + Express + Node + Prisma + AWS Lambda + TypeScript API Template

Getting Started

To scaffold a template using codekon, make sure you have git and pnpm installed. We use pnpm in our projects and strongly recommend you to do so too. For now, codekon only supports pnpm.

  • To use codekon interactively:

Using npm:

npx codekon

Using pnpm:

pnpx codekon
  • Follow the prompts. The project will be created in the directory.

  • You can also directly create projects by passing the arguments:

npx codekon [projectName] [templateName]
pnpx codekon [projectName] [templateName]

For example:

pnpx codekon my-app react-js-app

help picture

Credits -

TODO

  • Publish to NPM.
  • Test in Linux.
  • Test pnpm create codekon. My bad. For this to work, the package name should have been create-codekon.
  • Add screenshots and video.
  • Fix pnpm dlx codekon.
  • Remove execa and test with child-process. Reduced install size by 55%. Brought node support to >=18 from >= 20.5.0.
  • Setup changesets.