Follow these steps to set up the backend environment:
- Install Redis:
- Follow the installation guide available at Redis Official Website.
- Start Redis Service:
- After installation, start the Redis service. This step varies depending on your operating system.
- Install Redis Commander Globally:
- Run
npm i -g redis-commander
in your terminal.
- Run
- Start Redis Commander:
- Open a new terminal window and run
redis-commander
.
- Open a new terminal window and run
- Install Project Dependencies:
- Navigate to your backend project directory and run
npm i
.
- Navigate to your backend project directory and run
- Start the Backend Server:
- In your project directory, execute
npm run dev
.
- In your project directory, execute
- Run Jest Tests:
- Execute
npm run test
to run the Jest tests.
- Execute
- Navigate to
localhost:5000/queues
in your web browser to view the Bull Dashboard Queues.
Set up the frontend part of your project with these steps:
- Install Frontend Dependencies:
- In your frontend project directory, run
npm i
.
- In your frontend project directory, run
- Start the Frontend Server:
- Execute
npm run dev
to start the server.
- Execute