This is an application made to learn background jobs with the bull library.
Explore the docs »
·
Report Bug
·
Request Feature
I've searched about background jobs, so I've made this project to apply the knowledge I've gotten with some tutorials and the Nest documentation.
I've enjoyed working with background jobs especially with the mail feature because it returns a response for the user without having to wait for all the processes finalize.
- Clone the repo
git clone https://github.com/lucfersan/bg-jobs-bull
- Install NPM packages
yarn
- Create a database and a Postgres server using docker or your local machine.
- Run the migrations
yarn prisma migrate dev --name init
# development
$ npm run start
or
$ yarn start
# watch mode
$ npm run start:dev
or
$ yarn start:dev
# production mode
$ npm run start:prod
or
$ yarn start:prod
$ yarn prisma studio
Distributed under the MIT License. See LICENSE
for more information.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Lucas Fernandes - fernandes.lucas11@outlook.com