Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.79 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.79 KB

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