No description
| src | ||
| .env.example | ||
| .eslintrc.js | ||
| .gitignore | ||
| .prettierrc | ||
| Dockerfile | ||
| nest-cli.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sf-class2-root.crt | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
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.exampleto.env - Make sure cassandra is running locally/via docker and replace the values in the env file accordingly
npm inpm run start:dev
Production (with AWS Keyspaces)
- Copy
.env.exampleto.env - Ensure
ENVIRONMENT = "production"if using AWS Keyspaces and replace the other values with AWS endpoints npm inpm run buildnpm run start:prod