mirror of
https://github.com/zen-browser/rices.git
synced 2025-07-07 08:55:40 +02:00
🚀 Share your setups with the world
- The rice database now includes new fields: - `version`: Represents the version of the rice entry. - `os`: Represents the operating system associated with the rice entry. - These fields are required for all new rice entries. refactor: Stop uploading rice.json to GitHub - The `rice.json` file is no longer uploaded to GitHub during rice creation or updates. - This reduces redundancy as all metadata is now managed directly in the database (Supabase). fix: Improve exception handling with proper HTTP status codes - Enhanced exception handling to align with standard HTTP status codes: - `BadRequestException` for validation errors. - `ConflictException` for duplicate entries. - `NotFoundException` for missing resources. - Generic `InternalServerErrorException` for unexpected errors. - This ensures the API returns meaningful and accurate responses. feat: Enhance rice download to act as a standard HTTP GET - The `findOne` method now returns the raw content of the rice file directly as the response body. - Removes unnecessary JSON wrappers, allowing the endpoint to behave like a typical HTTP GET request. - Improved usability for clients consuming the API. |
||
---|---|---|
sql | ||
src | ||
test | ||
.env.example | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc | ||
jest.config.js | ||
LICENSE | ||
nest-cli.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json |
Description
Zen Rices API Based on Nest framework
Project setup (install NVM)
$ nvm use 22
$ npm install
Compile and run the project
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Run tests
# e2e tests
$ npm run test:e2e
Deployment
When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the deployment documentation for more information.
If you are looking for a cloud-based platform to deploy your NestJS application, check out Mau, our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
$ npm install -g mau
$ mau deploy
With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
Resources
Check out a few resources that may come in handy when working with NestJS:
- Visit the NestJS Documentation to learn more about the framework.
- For questions and support, please visit our Discord channel.
- To dive deeper and get more hands-on experience, check out our official video courses.
- Deploy your application to AWS with the help of NestJS Mau in just a few clicks.
- Visualize your application graph and interact with the NestJS application in real-time using NestJS Devtools.
- Need help with your project (part-time to full-time)? Check out our official enterprise support.
- To stay in the loop and get updates, follow us on X and LinkedIn.
- Looking for a job, or have a job to offer? Check out our official Jobs board.