typegraphql-typeorm-starter

1.0.4 • Public • Published

TypegraphQL + TypeORM Starter

Starter template for bootstrapping a TypeGraphQL + Apollo Server GraphQL API + TypeORM. The purpose is to help getting started quickly with TypeGraphQL + TypeORM development by providing a runnable API with examples you can build on.

Installation

Install typegraphql-typeorm-starter with npm

1. npm i -g typegraphql-typeorm-starter
2. typegraphql-typeorm-starter new `projectname`
3. cd `projectname`
4. npm install // in project root directory
5. npm run watch // to start typescript watcher
6. npm start // to start the server

Install typegraphql-typeorm-starter with npx

1. npx typegraphql-typeorm-starter new `projectname`
2. cd `projectname`
3. npm install // in project root directory
4. npm run watch // to start typescript watcher
5. npm start // to start the server

Note

This stater uses typeORM to setup the configuration + connect to the database.

Connecting to a database

  1. Create a database
  2. update the config in ormconfig.json

License

MIT

🚀 About Me

I'm Prajwal, a self taught Front end developer and an aspiring Full stack developer. I've worked on many projects on web.

Software engineering has been my muse since childhood. Even though I've taken the path less trodden, it hasn't stopped me from moving ahead, towards the fulfillment of my goals.

Checkout my portfolio here: https://portfolio-prajwal-p.vercel.app/

🔗 Links

portfolio linkedin

Readme

Keywords

none

Package Sidebar

Install

npm i typegraphql-typeorm-starter

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

157 kB

Total Files

30

Last publish

Collaborators

  • prajwal264