Skip to content

cockroachlabs/example-app-typescript-typeorm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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. Create a Cockroach Cloud account as described in LINK TO BIZZLEBEE CHAPTER.

  2. Create a database and a user and password as described in LINK TO BIZZLEBEE CHAPTER.

  3. From the SQL client:

    > GRANT ALL ON DATABASE databasename TO username;
  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

  •  
  •  
  •  
  •