No description
Find a file
2022-10-07 10:44:15 +05:30
src init repo 2022-10-07 10:44:15 +05:30
.env.example init repo 2022-10-07 10:44:15 +05:30
.eslintrc.js init repo 2022-10-07 10:44:15 +05:30
.gitignore init repo 2022-10-07 10:44:15 +05:30
.prettierrc init repo 2022-10-07 10:44:15 +05:30
Dockerfile init repo 2022-10-07 10:44:15 +05:30
nest-cli.json init repo 2022-10-07 10:44:15 +05:30
package-lock.json init repo 2022-10-07 10:44:15 +05:30
package.json init repo 2022-10-07 10:44:15 +05:30
README.md init repo 2022-10-07 10:44:15 +05:30
sf-class2-root.crt init repo 2022-10-07 10:44:15 +05:30
tsconfig.build.json init repo 2022-10-07 10:44:15 +05:30
tsconfig.json init repo 2022-10-07 10:44:15 +05:30

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