You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Ayush Mukherjee 2c746bdd88 init repo 2 years ago
src init repo 2 years ago
.env.example init repo 2 years ago
.eslintrc.js init repo 2 years ago
.gitignore init repo 2 years ago
.prettierrc init repo 2 years ago
Dockerfile init repo 2 years ago
README.md init repo 2 years ago
nest-cli.json init repo 2 years ago
package-lock.json init repo 2 years ago
package.json init repo 2 years ago
sf-class2-root.crt init repo 2 years ago
tsconfig.build.json init repo 2 years ago
tsconfig.json init repo 2 years ago

README.md

Nest Js Simple User API with Cassandra

This is a simple nest js user api with 2 endpoints - get all users and create a user, using cassandra as the underlying database.

Development

  • Copy .env.example to .env
  • Make sure cassandra is running locally/via docker and replace the values in the env file accordingly
  • npm i
  • npm run start:dev

Production (with AWS Keyspaces)

  • Copy .env.example to .env
  • Ensure ENVIRONMENT = "production" if using AWS Keyspaces and replace the other values with AWS endpoints
  • npm i
  • npm run build
  • npm run start:prod