Skip to content

mailisk-app/password-reset-selenium-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password reset with Selenium in Node (using Mailisk)

This is an example app that shows how to use Selenium to test password reset functionality. It uses the mailisk library.

This example includes a simple full stack React (NestJS) and Express application. The Express server uses Mailisk SMTP to send emails.

Install packages

You will need to install packages in all directories. Run the following commands in the root directory:

npm --prefix ./server install ./server

npm --prefix ./app install ./app

npm --prefix ./tests install ./tests

Setup

Get namespace and api key

The Api Key and namespace can be found in your dashboard. See the Getting Started guide for detailed steps

Create a .env file in the root project directory. Add the following lines from your settings:

API_KEY=<api key>
NAMESPACE=<yournamespace>

Running the app and server

Head into the app folder and run:

npm run dev

Then go into the server folder and run:

npm run dev

Running tests

To run the test go into the tests folder and run:

npm run start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages