Skip to content

Repository files navigation

VibeReads

A Blog and RSS Reader website.

Description

Backend built with Nest.

See frontend at https://github.com/lulu-cao/blog.

See the original backend at https://github.com/lulu-cao/blog-cms-django.

See DB design at Miro.

See API design at http://localhost:3001/api when running the app.

Project setup

To install project dependencies:

$ npm install

To develop the file feature with S3, follow these steps on Mac:

brew install python
brew install pipx

# install AWS CLI and LocalStack AWS CLI
pipx install awscli-local

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Run Docker

This project uses LocalStack to simulate S3 storage and retrieval. To run LocalStack in Docker:

docker compose up

This mocks S3 service on port 4566 for the NestJS app.

Run tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

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

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.

LocalStack:

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages