11 Commits

Author SHA1 Message Date
313a51f8db
Add various UI components including ToggleGroup and RadioGroup
This commit introduces multiple new UI components for the project. The added components include ToggleGroup, RadioGroup, Pagination, ToastBox, Textarea, Breadcrumb, Skeleton, Collapsible, Checkbox, Calendar, Accordion, Sonner, and CopyButton. These components enhance the flexibility and functionality of the UI, providing essential elements for better user interaction.
2024-11-08 14:37:06 +01:00
d73aecd2ab
Add initial Prisma schema
Set up Prisma models for Crypto, CryptoHistory, Offer, PromoCode, Role, Trade, User, and UserHasCrypto. This includes defining fields, relationships, and default values for each model, and configuring PostgreSQL as the database provider.
2024-11-08 09:35:32 +01:00
cfcc998271
Add AuthService for user registration and login
Implement user signup and signin functionality with password hashing, role assignment, and JWT token generation. Integrate promo code for initial balance adjustment, and handle unique credential errors.
2024-10-31 11:49:03 +01:00
747b4357f9
Remove trailing slash from .gitignore prisma/migrations entry
The trailing slash was removed to accurately match the directory during ignore operations. This ensures that the .gitignore works as expected for the prisma migrations folder.
2024-10-31 11:45:49 +01:00
1f7ed6e03c
Add .gitignore file
Created a .gitignore file to exclude compiled output, logs, OS-specific files, test directories, editor settings, environment variable files, temporary directories, runtime data, and diagnostic reports from version control. This helps maintain a cleaner repository and prevents the inclusion of unnecessary or sensitive files.
2024-10-31 11:44:39 +01:00
5666c16d00
Add main application bootstrap logic
Introduce the main.ts file to set up the NestJS application. This includes enabling CORS, configuring Swagger documentation, and setting up global validation pipes.
2024-10-31 11:43:49 +01:00
272d3ec50a
Add nest-cli.json configuration file
This adds a new configuration file for the Nest CLI to the project. The file specifies the schema, schematics collection, source root directory, and compiler options, including deleting the output directory before building.
2024-10-31 11:43:38 +01:00
57d9845d19
Add pnpm-lock.yaml file
Introduce a new pnpm-lock.yaml file to manage dependency versions and settings. This change ensures consistency across installations by locking the specific versions of dependencies.
2024-10-31 11:43:27 +01:00
80c8662ed1
Add tsconfig and tsconfig.build configuration files
Introduced `tsconfig.json` with TypeScript compiler options tailored for the project. Additionally, created `tsconfig.build.json` to extend the main config for build-specific settings and exclusions. This setup ensures a streamlined compilation process and cleaner build output.
2024-10-31 11:42:56 +01:00
0fb7c3e288
Add docker-compose file for PostgreSQL service
Introduces a docker-compose.yaml file to set up a PostgreSQL container named "neptune-db". Configures the container with environment variables and volumes for persistent data storage.
2024-10-31 11:41:42 +01:00
6d59fd8c60 Initial commit 2024-10-30 15:46:53 +00:00