Code Monkey home page Code Monkey logo

create-ts-api's Introduction

Hi there 👋, I'm Bineet Naidu

💫About Me :

  • 🔭 My current working ons
  • 🌱 I’m currently about docker and Kubernetes!.
  • 💬 Ask me about: web developement.
  • 📫 How to reach me: links
  • 😄 Pronouns: he / him / his
  • ⚡ Fun fact: I love to watch and play Football

🌐Socials

Instagram Twitter

💻Tech Stack

CSS3 Go GraphQL JavaScript HTML5 Markdown TypeScript Heroku Netlify Vercel Apollo-GraphQL Chakra Expo Express.js JWT NPM NestJS Next JS NodeJS React React Native React Router Styled Components Strapi Svelte TailwindCSS Type-graphql Yarn Nginx MongoDB MySQL Postgres Redis Dribbble Figma Framer Docker ESLint Kubernetes Raspberry Pi Postman Portfolio Trello

📊GitHub Stats :



🏆GitHub Trophies

✍️Random Dev Quote

My recent Activity

  1. 🎉 Merged PR #18 in bineetNaidu/api.bineetnaidu.io
  2. 💪 Opened PR #18 in bineetNaidu/api.bineetnaidu.io
  3. ❗️ Closed issue #1 in bineetNaidu/book-store
  4. 🗣 Commented on #24 in pavanjoshi914/Front-End-Development
  5. 🗣 Commented on #24 in pavanjoshi914/Front-End-Development

create-ts-api's People

Contributors

bineetnaidu avatar j-grizz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

create-ts-api's Issues

Add Test Cases

  • add test cases to each templates.
    • gql template
    • gql-psql template
    • main template
    • mongo template
    • psql template

Features

Features to be add

  • add base default template
  • create cli command utility

[BUG] command `yarn create ts-api` fails!

Describe the bug
the CLI fails on yarn create ts-api

To Reproduce
Steps to reproduce the behavior:

  1. Open terminal
  2. type yarn create ts-api

Expected behavior*
should create a TypeScript Boilerplate template.

Desktop (please complete the following information):

  • OS: Ubuntu v20+
  • Node Version: [v16.2.0]
  • NPM version: [v7.13.0]

Additional context
Error:

const chalk = require('chalk');
              ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /node_modules/chalk/source/index.js from /.config/yarn/global/node_modules/create-ts-api/src/index.js not supported.

New GraphQL templates

Features to add:

  • a base graphql template
  • a graphql template w/ mongodb
  • a graphql template w/ postgreSQL

Add Inquirer to select templates

Initially remembering the templates flag is quite overwhelming.
So, getting a Inquirer type structure would help the end user to know better about the template there selecting!

Templates folder not found

While trying to use NPX to create a new template I get the follow exception:

syscall: 'lstat',
code: 'ENOENT',
path: '~/.npm/_npx/6c1ddf9dc833b8be/node_modules/templates/main'

That also happens when installing that package globally,
I'm not familiar with NPX packages innerworks, but it seems it is not getting the templates directory automatically.
Manually adding this repo packages/template to my npx dir solves the problem.

IMPORTANT NOTICE

IMPORTANT

THIS PACKAGE WAS UNPUBLISHED AS I WAS EXPERIMENTING WITH SOME STUFF, NOW I CAN'T RE PUBLISH IT FOR THE NEXT 24 HOURS . PLEASE STAY PUT. SORRY FOR ANY INCONVENIENCE

thanks!

[BUG] no `.gitignore`

Describe the bug
While opting for git on the project, it commits the entire node_modules folder as there is no .gitignore.

Desktop (please complete the following information):

  • OS: Ubunto 20 (Linux)
  • Node Version: v16.2.0
  • NPM version: v7.13.0]

IMPORTANT NOTICE

IMPORTANT

THIS PACKAGE WAS UNPUBLISHED AS I WAS EXPERIMENTING WITH SOME STUFF, NOW I CAN'T RE PUBLISH IT FOR THE NEXT 24 HOURS . PLEASE STAY PUT. SORRY FOR ANY INCONVENIENCE

thanks!

New Template

Features

  • A MongoDB template
  • A PostgreSQL template
  • add cli options

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.