typegraphql-typeorm-starter
v1.0.4
Published
a simple starter for typegraphQL + typeORM projects
Downloads
2
Readme
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
- Create a database
- update the config in ormconfig.json
License
🚀 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/