- Clone the Repository: Begin by cloning this repository to your local machine.
- Check Node.js Version: Ensure you have Node.js version 20 installed. You can verify this by running
node -v
in your terminal. - Install Redis: Make sure you have Redis version 6.2.0 or higher installed. You can check the Redis version with
redis-server --version
. - Set Up PostgreSQL: Confirm that you have the latest version of PostgreSQL database installed on your system.
- Navigate to the Cloned Repository Directory: Open your terminal and change to the directory where you cloned the repository.
- Install all dependencies with the command:
yarn
if you do not have it install it bynpm install --global yarn
- Create Environment Variables: Copy the variables from the .env.example file to create a new .env file. Make sure to enter your own configuration values in this new file.
- Generate Database Schema: Use the following command to generate the database schema:
yarn migration:generate src/_migrations/migration_name
Replace migration_name with a suitable name for your migration. - Run Migrations: Apply the generated migrations to the database by executing
yarn migration:run
- Start the Application: After completing all previous steps, start the application with
yarn start:dev
- Access Swagger UI: Once the server is running, open your web browser and go to
http://localhost:your_port/swagger
Replace your_port with the actual port number your application is running on to access the Swagger documentation. - to run test run the command in terminal
yarn test:e2e
- Redis is used in this application to store and manage mail queues, enabling efficient and reliable email processing.
- admin email :
kukushi@gmail.com
- admin password :
akashi