Skip to content

'Hello World' example application in TypeScript using the TypeORM framework

License

Notifications You must be signed in to change notification settings

cockroachlabs/example-app-typescript-typeorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains an example "Hello World" TypeScript application that uses the TypeORM framework to connect to CockroachDB.

To run the code:

  1. Start a demo CockroachDB cluster from the command line: cockroach demo --empty

  2. Create a bank database and a user and password as described in Build a TypeScript App with CockroachDB.

  3. From the SQL client:

    > GRANT ALL ON DATABASE bank TO user;
  4. If necessary, update the ormconfig.json file with the correct connection values.

  5. In your terminal, from the top of this project directory:

    $ npm i
    $ npm start

About

'Hello World' example application in TypeScript using the TypeORM framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •